mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 14:58:02 +01:00
disable facts gathering
This commit is contained in:
parent
bfce950fda
commit
1c3ff6105e
7 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Update caddy config
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
become: true
|
||||
tasks:
|
||||
- name: Write Caddyfile
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Goatcounter
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Get latest release
|
||||
community.general.github_release:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Lyon-transports
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Write service file
|
||||
become: true
|
||||
|
@ -13,7 +14,6 @@
|
|||
notify:
|
||||
- Reload daemon
|
||||
- Restart service
|
||||
when: ansible_os_family != "" # <- Compares with an empty string.
|
||||
- name: Flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
- name: Ensure service is running
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Clean ansible venv
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Remove virtualenv
|
||||
ansible.builtin.file:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Setup ansible python dependencies
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Install system deps
|
||||
become: true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Setup caddy
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
become: true
|
||||
tasks:
|
||||
- name: Install system deps
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Update system
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
become: true
|
||||
tasks:
|
||||
- name: Update packages
|
||||
|
|
Loading…
Reference in a new issue