-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Initial ACL support - Initial Atlas support - Streamline main tasks - Update documentation - Update variables
- Loading branch information
1 parent
62a78b3
commit 9fbc184
Showing
12 changed files
with
116 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
--- | ||
# File: tasks/main.yml - dnsmasq tasks for Consul | ||
|
||
- name: dnsmasq package | ||
- name: Dnsmasq package | ||
yum: name=dnsmasq state=present | ||
when: ansible_distribution == "CentOS" or ansible_distribution == "RedHat" | ||
tags: dnsmasq,installation | ||
|
||
- name: dnsmasq package | ||
- name: Dnsmasq package | ||
apt: name=dnsmasq state=present | ||
when: ansible_distribution == "Debian" or ansible_distribution == "Ubuntu" | ||
tags: dnsmasq,installation | ||
|
||
- name: Stop dnsmasq | ||
- name: Stop Dnsmasq | ||
service: name=dnsmasq state=stopped | ||
|
||
- name: "dnsmasq setup" | ||
- name: "Dnsmasq setup" | ||
copy: src=../files/dnsmasq-10-consul dest=/etc/dnsmasq.d/10-consul owner=root group=root mode=0644 | ||
tags: dnsmasq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"acl_datacenter": "{{ consul_acl_datacenter }}", | ||
"acl_default_policy": "{{ consul_acl_default_policy }}", | ||
"acl_down_policy": "{{ consul_acl_down_policy }}", | ||
"acl_master_token": "{{ consul_acl_master_token }}", | ||
"acl_replication_token": "{{ consul_acl_replication_token }}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"atlas_token": "{{ consul_atlas_token }}", | ||
"atlas_infratstructure": "{{ consul_atlas_infrastructure }}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v1.2.16 | ||
v1.3.0 |