Skip to content
Snippets Groups Projects
Commit fdb329ff authored by Baptiste DE RENZO's avatar Baptiste DE RENZO
Browse files

Update to ansible 5.2, Refs #35175

parent 0c34216a
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
- include_vars:
file: ressources/firewall/rules.yml
- include: ressources/firewall/listen.yml
- include_tasks: ressources/firewall/listen.yml
# loop over listen vars (named outer_item) and call firewall-listen
loop: "{{ listen }}"
loop_control:
......@@ -35,7 +35,7 @@
file: ressources/firewall/rules.yml
- name: test rules
include: ressources/firewall/test-rule.yml
include_tasks: ressources/firewall/test-rule.yml
# loop over listen vars (named outer_item) and call firewall-listen
loop: "{{ test }}"
loop_control:
......
ansible-lint
flake8
#git+https://github.com/atmaniak/molecule@e03437923b302fca1bd7b4f6030c6956ad00367a#egg=molecule[docker]
#git+https://github.com/ansible-community/molecule@bc795e717108af2f8e63bbb05fcc4d7212ef62cd#egg=molecule[docker]
molecule[docker]==3.2.2
molecule[docker]
pytest-testinfra
yamllint
......@@ -15,7 +15,7 @@
ssh_key_file: .ssh/id_ed25519
# MAILER
- include: mailer.yml
- include_tasks: mailer.yml
# FIREWALL
- name: firewall
......
---
pg_packages:
- acl
- postgresql
pg_version: 11
......
---
- include: repos.yml
- include_tasks: repos.yml
# Upgrade already installed packages to latest version and clean system
......@@ -11,6 +11,7 @@
register: apt_status
retries: 60
until: apt_status is success or ('Failed to lock apt for exclusive operation' not in apt_status.msg and '/var/lib/dpkg/lock' not in apt_status.msg)
changed_when: false
- name: apt dist upgrade
apt:
......@@ -117,10 +118,10 @@
include_role:
name: ferm-configure
- include: logs.yml
- include_tasks: logs.yml
- include: locale.yml
- include_tasks: locale.yml
- include: ntp.yml
- include_tasks: ntp.yml
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment