mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-22 07:18: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
|
- name: Update caddy config
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Write Caddyfile
|
- name: Write Caddyfile
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Goatcounter
|
- name: Goatcounter
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Get latest release
|
- name: Get latest release
|
||||||
community.general.github_release:
|
community.general.github_release:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Lyon-transports
|
- name: Lyon-transports
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Write service file
|
- name: Write service file
|
||||||
become: true
|
become: true
|
||||||
|
@ -13,7 +14,6 @@
|
||||||
notify:
|
notify:
|
||||||
- Reload daemon
|
- Reload daemon
|
||||||
- Restart service
|
- Restart service
|
||||||
when: ansible_os_family != "" # <- Compares with an empty string.
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
ansible.builtin.meta: flush_handlers
|
ansible.builtin.meta: flush_handlers
|
||||||
- name: Ensure service is running
|
- name: Ensure service is running
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Clean ansible venv
|
- name: Clean ansible venv
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Remove virtualenv
|
- name: Remove virtualenv
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Setup ansible python dependencies
|
- name: Setup ansible python dependencies
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install system deps
|
- name: Install system deps
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Setup caddy
|
- name: Setup caddy
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install system deps
|
- name: Install system deps
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Update system
|
- name: Update system
|
||||||
hosts: servers
|
hosts: servers
|
||||||
|
gather_facts: false
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Update packages
|
- name: Update packages
|
||||||
|
|
Loading…
Reference in a new issue