Compare commits
No commits in common. "a11de104233e1854f2837b4a2a20313f23bfc034" and "20ce8eedeb0b96a24ec52dd3e5af5e1f9bc354a8" have entirely different histories.
a11de10423
...
20ce8eedeb
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,3 @@ host_vars
|
|||||||
inventory.yml
|
inventory.yml
|
||||||
group_vars/all/80-vault.yml
|
group_vars/all/80-vault.yml
|
||||||
group_vars/all/90-overlay.yml
|
group_vars/all/90-overlay.yml
|
||||||
group_vars/bastion/90-overlay.yml
|
|
||||||
|
@ -21,6 +21,28 @@
|
|||||||
mode: 700
|
mode: 700
|
||||||
register: rmconn
|
register: rmconn
|
||||||
|
|
||||||
|
- name: Run rmconn every 30 minutes
|
||||||
|
cron:
|
||||||
|
name: "Ensure eth0 is not externally managed"
|
||||||
|
minute: "*/30"
|
||||||
|
job: "/root/rmconn.sh"
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Run rmconn every minute (temporarily)
|
||||||
|
cron:
|
||||||
|
name: "Ensure eth0 is not externally managed (temporary)"
|
||||||
|
minute: "*"
|
||||||
|
job: "/root/rmconn.sh"
|
||||||
|
state: present
|
||||||
|
when: rmconn.changed
|
||||||
|
|
||||||
|
- name: Run rmconn at boot
|
||||||
|
cron:
|
||||||
|
name: "Ensure eth0 is not externally managed (at reboot)"
|
||||||
|
special_time: reboot
|
||||||
|
job: "/root/rmconn.sh"
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Disable DHCP DNS
|
- name: Disable DHCP DNS
|
||||||
template:
|
template:
|
||||||
src: nodns.network.j2
|
src: nodns.network.j2
|
||||||
@ -63,28 +85,6 @@
|
|||||||
poll: 0
|
poll: 0
|
||||||
async: 1000
|
async: 1000
|
||||||
|
|
||||||
- name: Run rmconn every 30 minutes
|
|
||||||
cron:
|
|
||||||
name: "Ensure eth0 is not externally managed"
|
|
||||||
minute: "*/30"
|
|
||||||
job: "/root/rmconn.sh"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Run rmconn every minute (temporarily)
|
|
||||||
cron:
|
|
||||||
name: "Ensure eth0 is not externally managed (temporary)"
|
|
||||||
minute: "*"
|
|
||||||
job: "/root/rmconn.sh"
|
|
||||||
state: present
|
|
||||||
when: rmconn.changed
|
|
||||||
|
|
||||||
- name: Run rmconn at boot
|
|
||||||
cron:
|
|
||||||
name: "Ensure eth0 is not externally managed (at reboot)"
|
|
||||||
special_time: reboot
|
|
||||||
job: "/root/rmconn.sh"
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Reset Ansible connection params
|
- name: Reset Ansible connection params
|
||||||
set_fact:
|
set_fact:
|
||||||
ansible_host: "{{ local_ip }}"
|
ansible_host: "{{ local_ip }}"
|
||||||
@ -95,6 +95,7 @@
|
|||||||
timeout: 240
|
timeout: 240
|
||||||
when: nmcli_conf.changed or rmconn.changed
|
when: nmcli_conf.changed or rmconn.changed
|
||||||
|
|
||||||
|
|
||||||
- name: Remove rmconn task at every minute
|
- name: Remove rmconn task at every minute
|
||||||
cron:
|
cron:
|
||||||
name: "Ensure eth0 is not externally managed (temporary)"
|
name: "Ensure eth0 is not externally managed (temporary)"
|
||||||
|
Loading…
Reference in New Issue
Block a user