Skip to content

Commit

Permalink
chore: Ansible warnings are fixed (magma#13165)
Browse files Browse the repository at this point in the history
* 'callback_whitelist' warnings are removed
* 'append' warning is removed

Signed-off-by: Marco Pfirrmann <marco.pfirrmann@tngtech.com>
  • Loading branch information
mpfirrmann authored and emakeev committed Aug 5, 2022
1 parent f26bfe9 commit 2675550
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cwf/gateway/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# facts from facter and ohai, so gather_facts finish faster
# See https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg
gather_subset = !hardware,!facter,!ohai
callback_whitelist = profile_tasks
callbacks_enabled = profile_tasks
roles_path = ../../orc8r/tools/ansible/roles

[connection]
Expand Down
2 changes: 1 addition & 1 deletion example/gateway/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# facts from facter and ohai, so gather_facts finish faster
# See https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg
gather_subset = !hardware,!facter,!ohai
callback_whitelist = profile_tasks
callbacks_enabled = profile_tasks
roles_path = ../../orc8r/tools/ansible/roles

[connection]
Expand Down
2 changes: 1 addition & 1 deletion feg/gateway/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# facts from facter and ohai, so gather_facts finish faster
# See https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg
gather_subset = !hardware,!facter,!ohai
callback_whitelist = profile_tasks
callbacks_enabled = profile_tasks
roles_path = ../../orc8r/tools/ansible/roles

[connection]
Expand Down
2 changes: 1 addition & 1 deletion lte/gateway/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# facts from facter and ohai, so gather_facts finish faster
# See https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg
gather_subset = !hardware,!facter,!ohai
callback_whitelist = profile_tasks
callbacks_enabled = profile_tasks
roles_path = ../../orc8r/tools/ansible/roles

[connection]
Expand Down
2 changes: 1 addition & 1 deletion orc8r/cloud/deploy/bare-metal-ansible/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fact_caching_timeout = 7200
stdout_callback = default
display_skipped_hosts = no
library = ./library
callback_whitelist = profile_tasks
callbacks_enabled = profile_tasks
roles_path = roles:kubespray/roles
deprecation_warnings=False
inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds, .gpg
Expand Down
2 changes: 1 addition & 1 deletion orc8r/tools/ansible/roles/docker/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- name: Add the user to the docker group
user:
name: "{{ user }}"
group: docker
groups: docker
append: yes

- name: Install python docker module
Expand Down
2 changes: 1 addition & 1 deletion orc8r/tools/packer/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# facts from facter and ohai, so gather_facts finish faster
# See https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg
gather_subset = !hardware,!facter,!ohai
callback_whitelist = profile_tasks
callbacks_enabled = profile_tasks

# This allows us to switch to the unprivileged postgres user for datastore
allow_world_readable_tmpfiles = True

0 comments on commit 2675550

Please sign in to comment.