Skip to content

Commit

Permalink
separate playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Aug 29, 2023
1 parent 952bcd1 commit d9f351a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions services/ansible_openvpn/playbooks/fetch_and_process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
- ansible.builtin.debug:
msg: Fetch and process

- name: Sync RPI inventory
ansible.builtin.import_playbook: fetch_openvpn_hosts.yml

- name: Fetch RPI data using rsync
ansible.builtin.import_playbook: fetch_rpi_data.yml

Expand Down
2 changes: 2 additions & 0 deletions services/ansible_openvpn/playbooks/fetch_openvpn_hosts.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# To execute each 10 minutes
# 0/10 * * * *
- name: Execute python script to save host list file
hosts: 127.0.0.1
connection: local
Expand Down

0 comments on commit d9f351a

Please sign in to comment.