1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/fortios_address/tasks/main.yml
Benjamin Jolivot 753b26ccf9 Manage Fortios/Fortigate Address (#21542)
* New module fortios_address

* Add module_utils required_if + fix Doc

* Merge spec & required_if from module_utils

* Fix pep8

* Py2.5 compat , cosmetic changes

* Fix param timeout

* Fortios_address module + integration tests

* add netaddr library in requirements for integration tests

* Pep8 problems

* ANSIBLE_METADATA.version -> ANSIBLE_METADATA.metadata_version
2017-08-01 11:17:12 -06:00

14 lines
420 B
YAML

---
- name: install required libraries
pip:
requirements: "{{ role_path }}/files/requirements.txt"
become: True
- name: copy backup config file to config file
copy:
src: "{{ role_path }}/files/default_config.conf.backup"
dest: "{{ role_path }}/files/default_config.conf"
- { include: test_indempotency.yml }
- { include: test_params_state_absent.yml }
- { include: test_params_state_present.yml }