mirror of
https://github.com/MatteZ02/infra.git
synced 2024-11-13 22:30:20 +00:00
Update
This commit is contained in:
parent
6b4925cf32
commit
9ffb1b7f58
@ -127,6 +127,8 @@
|
|||||||
extra_args: --upgrade
|
extra_args: --upgrade
|
||||||
virtualenv: /opt/ansible
|
virtualenv: /opt/ansible
|
||||||
virtualenv_command: "python3 -m venv"
|
virtualenv_command: "python3 -m venv"
|
||||||
|
tags:
|
||||||
|
- mariadb
|
||||||
|
|
||||||
- name: "Install - MariaDB - Dependencies / Package : mariadb-client"
|
- name: "Install - MariaDB - Dependencies / Package : mariadb-client"
|
||||||
apt:
|
apt:
|
||||||
@ -134,6 +136,8 @@
|
|||||||
state: latest
|
state: latest
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution == "Debian" or ansible_facts.distribution == "Ubuntu" or ansible_facts.distribution == "Linux Mint"
|
- ansible_facts.distribution == "Debian" or ansible_facts.distribution == "Ubuntu" or ansible_facts.distribution == "Linux Mint"
|
||||||
|
tags:
|
||||||
|
- mariadb
|
||||||
|
|
||||||
- name: "Install - Schedule - Maintenance"
|
- name: "Install - Schedule - Maintenance"
|
||||||
cron:
|
cron:
|
||||||
@ -141,9 +145,13 @@
|
|||||||
hour: "*/3"
|
hour: "*/3"
|
||||||
minute: "0"
|
minute: "0"
|
||||||
job: "/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --accept-host-key --private-key ~/.ssh/id_rsa tasks.yml -t maintenance"
|
job: "/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --accept-host-key --private-key ~/.ssh/id_rsa tasks.yml -t maintenance"
|
||||||
|
tags:
|
||||||
|
- cron
|
||||||
|
|
||||||
- name: "Install - Schedule - Deployer"
|
- name: "Install - Schedule - Deployer"
|
||||||
cron:
|
cron:
|
||||||
name: Deployer
|
name: Deployer
|
||||||
minute: "*/5"
|
minute: "*/5"
|
||||||
job: "/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --accept-host-key --private-key ~/.ssh/id_rsa tasks.yml -t deployer"
|
job: "/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --accept-host-key --private-key ~/.ssh/id_rsa tasks.yml -t deployer"
|
||||||
|
tags:
|
||||||
|
- cron
|
||||||
|
Loading…
Reference in New Issue
Block a user