Use true instead of yes
This commit is contained in:
parent
0f9169284f
commit
9505e87113
11 changed files with 20 additions and 20 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
61333538366635353537346231363235653162356330396434383631656465616330363136306563
|
61333538366635353537346231363235653162356330396434383631656465616330363136306563
|
||||||
3861333166386536633437386335613461646466346239360a643139303037613937373631313661
|
3861333166386536633437386335613461646466346239360a643139303037613937373631313661
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
ldap_local_replica_uri:
|
ldap_local_replica_uri:
|
||||||
- 'ldap://ldap-replica-edc.adm.auro.re'
|
- 'ldap://ldap-replica-edc.adm.auro.re'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: install GPG
|
- name: install GPG
|
||||||
apt:
|
apt:
|
||||||
name: gnupg
|
name: gnupg
|
||||||
|
@ -37,4 +36,4 @@
|
||||||
service:
|
service:
|
||||||
name: frr
|
name: frr
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: true
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: force run dhcp re2o-service
|
- name: force run dhcp re2o-service
|
||||||
command: /var/local/re2o-services/dhcp/main.py --force
|
command: /var/local/re2o-services/dhcp/main.py --force
|
||||||
become_user: re2o-services
|
become_user: re2o-services
|
||||||
|
@ -11,4 +12,3 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: rsyslog
|
name: rsyslog
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
owner: re2o-services
|
owner: re2o-services
|
||||||
group: nogroup
|
group: nogroup
|
||||||
recurse: yes
|
recurse: true
|
||||||
mode: u=rwX,g=rX,o=rX
|
mode: u=rwX,g=rX,o=rX
|
||||||
|
|
||||||
- name: Install isc-dhcp-server
|
- name: Install isc-dhcp-server
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: Add backports repositories
|
- name: Add backports repositories
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "{{ item }} http://deb.debian.org/debian buster-backports main contrib non-free"
|
repo: "{{ item }} http://deb.debian.org/debian buster-backports main contrib non-free"
|
||||||
|
@ -34,8 +35,8 @@
|
||||||
apt:
|
apt:
|
||||||
name: freeradius-python3
|
name: freeradius-python3
|
||||||
default_release: buster-backports
|
default_release: buster-backports
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
ignore_errors: yes
|
ignore_errors: true
|
||||||
|
|
||||||
- name: fix freeradius-python3 postinstall script
|
- name: fix freeradius-python3 postinstall script
|
||||||
template:
|
template:
|
||||||
|
@ -47,15 +48,15 @@
|
||||||
apt:
|
apt:
|
||||||
name: freeradius-python3
|
name: freeradius-python3
|
||||||
default_release: buster-backports
|
default_release: buster-backports
|
||||||
force: yes
|
force: true
|
||||||
ignore_errors: yes
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Setup radius symlinks
|
- name: Setup radius symlinks
|
||||||
file:
|
file:
|
||||||
src: "/var/www/re2o/freeradius_utils/{{ item.local_prefix }}{{ item.filename }}"
|
src: "/var/www/re2o/freeradius_utils/{{ item.local_prefix }}{{ item.filename }}"
|
||||||
dest: "/etc/freeradius/3.0/{{ item.filename }}"
|
dest: "/etc/freeradius/3.0/{{ item.filename }}"
|
||||||
state: link
|
state: link
|
||||||
force: yes
|
force: true
|
||||||
loop:
|
loop:
|
||||||
- local_prefix: ""
|
- local_prefix: ""
|
||||||
filename: auth.py
|
filename: auth.py
|
||||||
|
@ -158,7 +159,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
when: nuke_radius|default(false)
|
when: nuke_radius|default(false)
|
||||||
ignore_errors: yes
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Nuking - Destroy old local DB if it exists
|
- name: Nuking - Destroy old local DB if it exists
|
||||||
community.general.postgresql_db:
|
community.general.postgresql_db:
|
||||||
|
@ -255,6 +256,6 @@
|
||||||
- name: Restart freeradius, ensure enabled
|
- name: Restart freeradius, ensure enabled
|
||||||
systemd:
|
systemd:
|
||||||
name: freeradius
|
name: freeradius
|
||||||
enabled: yes
|
enabled: true
|
||||||
state: restarted
|
state: restarted
|
||||||
daemon_reload: yes
|
daemon_reload: true
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
---
|
||||||
- name: restart radvd
|
- name: restart radvd
|
||||||
systemd:
|
systemd:
|
||||||
state: restarted
|
state: restarted
|
||||||
name: radvd
|
name: radvd
|
||||||
enabled: yes
|
enabled: true
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
# Warning: radvd installation seems to fail if the configuration
|
# Warning: radvd installation seems to fail if the configuration
|
||||||
# file doesn't already exist when the package is installed,
|
# file doesn't already exist when the package is installed,
|
||||||
# so the order is important.
|
# so the order is important.
|
||||||
|
@ -19,4 +17,3 @@
|
||||||
name: radvd
|
name: radvd
|
||||||
state: present
|
state: present
|
||||||
notify: restart radvd
|
notify: restart radvd
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
|
---
|
||||||
- name: restart keepalived
|
- name: restart keepalived
|
||||||
systemd:
|
systemd:
|
||||||
state: restarted
|
state: restarted
|
||||||
name: keepalived
|
name: keepalived
|
||||||
enabled: yes
|
enabled: true
|
||||||
|
|
||||||
- name: run aurore-firewall
|
- name: run aurore-firewall
|
||||||
command: python3 main.py --force
|
command: python3 main.py --force
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
ansible.posix.sysctl:
|
ansible.posix.sysctl:
|
||||||
name: net.ipv4.ip_forward
|
name: net.ipv4.ip_forward
|
||||||
value: '1'
|
value: '1'
|
||||||
sysctl_set: yes
|
sysctl_set: true
|
||||||
|
|
||||||
- name: Enable IPv6 packet forwarding
|
- name: Enable IPv6 packet forwarding
|
||||||
ansible.posix.sysctl:
|
ansible.posix.sysctl:
|
||||||
name: net.ipv6.conf.all.forwarding
|
name: net.ipv6.conf.all.forwarding
|
||||||
value: '1'
|
value: '1'
|
||||||
sysctl_set: yes
|
sysctl_set: true
|
||||||
|
|
||||||
- name: Configure /etc/network/interfaces for routeur-aurore*
|
- name: Configure /etc/network/interfaces for routeur-aurore*
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: restart unbound
|
- name: restart unbound
|
||||||
systemd:
|
systemd:
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
Loading…
Reference in a new issue