Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Ansible deprecation warnings in Contiv roles #4479

Merged
merged 1 commit into from
Jul 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/contiv/tasks/netmaster_iptables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Netmaster IPtables | Get iptables rules
command: iptables -L --wait
register: iptablesrules
always_run: yes
check_mode: no

- name: Netmaster IPtables | Enable iptables at boot
service:
Expand Down
2 changes: 1 addition & 1 deletion roles/contiv/tasks/netplugin_iptables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Netplugin IPtables | Get iptables rules
command: iptables -L --wait
register: iptablesrules
always_run: yes
check_mode: no

- name: Netplugin IPtables | Enable iptables at boot
service:
Expand Down
6 changes: 3 additions & 3 deletions roles/contiv_facts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
stat: path=/run/ostree-booted
register: s
changed_when: false
always_run: yes
check_mode: no

- name: Init the is_atomic fact
set_fact:
Expand All @@ -17,7 +17,7 @@
- name: Determine if CoreOS
raw: "grep '^NAME=' /etc/os-release | sed s'/NAME=//'"
register: distro
always_run: yes
check_mode: no

- name: Init the is_coreos fact
set_fact:
Expand Down Expand Up @@ -61,7 +61,7 @@
stat: path=/usr/bin/rpm
register: s
changed_when: false
always_run: yes
check_mode: no

- name: Init the has_rpm fact
set_fact:
Expand Down
4 changes: 2 additions & 2 deletions roles/contiv_facts/tasks/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
register: s
changed_when: false
failed_when: false
always_run: yes
check_mode: no

- name: Set the has_firewalld fact
set_fact:
Expand All @@ -16,7 +16,7 @@
register: s
changed_when: false
failed_when: false
always_run: yes
check_mode: no

- name: Set the has_iptables fact
set_fact:
Expand Down