mirror of
https://github.com/MatteZ02/infra.git
synced 2026-10-23 00:05:01 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5097aa0931 | ||
|
|
7f6f079aa8 | ||
|
|
5b2cb89de5 |
No files matched your search
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
$ANSIBLE_VAULT;1.2;AES256;matte
|
||||
32633665346332373139643132343562643638376130636264343537303564366137646531623065
|
||||
3864666233643335613436363933316132336261663932360a306266616465383335316535393438
|
||||
32303836343431396162613631666338343134313966316461383461323638613438333361663537
|
||||
6233626238383034350a633663336539366434373438306639346330643062633631653762366432
|
||||
3638
|
||||
@@ -0,0 +1,6 @@
|
||||
$ANSIBLE_VAULT;1.2;AES256;matte
|
||||
30316461346436346435646231303134356437653433343730343262353261666562376539663462
|
||||
6562333566646234306231343661626231633730313262390a666533303464383832306538333937
|
||||
64303938393364343462653463653263306463303664353965623332386362646132393564623238
|
||||
3362353766333538360a306539303331646634383539653861373362303135663963626663306430
|
||||
6164
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -70,7 +70,7 @@
|
||||
|
||||
- name: "Installer : Certbot : Auth Hook - Copy File"
|
||||
ansible.builtin.copy:
|
||||
src: "./files/certbot/auth-hooks/acme-dns.py"
|
||||
src: "./templates/certbot/auth-hooks/acme-dns.py"
|
||||
dest: "~/data/certbot/auth-hooks/acme-dns.py"
|
||||
mode: '700'
|
||||
force: true
|
||||
@@ -108,7 +108,7 @@
|
||||
name: "Matte - Infra - Maintenance"
|
||||
hour: "*/3"
|
||||
minute: "0"
|
||||
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml tasks.yml -t maintenance"
|
||||
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml ansible/tasks.yml -t maintenance"
|
||||
tags:
|
||||
- cron
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
ansible.builtin.cron:
|
||||
name: "Matte - Infra - Deployer"
|
||||
minute: "*/5"
|
||||
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml tasks.yml -t deployer"
|
||||
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml ansible/tasks.yml -t deployer"
|
||||
tags:
|
||||
- cron
|
||||
|
||||
@@ -125,6 +125,6 @@
|
||||
name: "Matte - Infra - Backup"
|
||||
hour: "3"
|
||||
minute: "30"
|
||||
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml tasks.yml -t backup"
|
||||
job: "~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml ansible/tasks.yml -t backup"
|
||||
tags:
|
||||
- cron
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -45,7 +45,7 @@ then
|
||||
echo "$PASSWORD" > ~/.ansible/vault/matte.yml
|
||||
fi
|
||||
|
||||
~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml tasks.yml -t installer
|
||||
~/.venv/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/infra -d ~/.ansible/pull/matte/infra --accept-host-key --private-key ~/.ssh/keys/matte/infra --vault-password-file ~/.ansible/vault/matte.yml ansible/tasks.yml -t installer
|
||||
|
||||
echo "
|
||||
==============================
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
$ANSIBLE_VAULT;1.2;AES256;matte
|
||||
62346136653335363162326162383931386537613938323936313137303431373664326165613562
|
||||
3833613232666134346465313164393265313866396438640a396463376165633535636261656161
|
||||
65666130663862303234623932643131353539623635306266663330626666383533363039653737
|
||||
3736626335343832360a373961343766633963363766393333396366343737333630636531646362
|
||||
6564
|
||||
@@ -1,6 +0,0 @@
|
||||
$ANSIBLE_VAULT;1.2;AES256;matte
|
||||
65326434306632636332646164346332366430303930656231353538613062323762303131346630
|
||||
3264653933373331373638363134633562643932326333660a393065303336306162373733316634
|
||||
61333437313261393336353235323862353538386563356132393532623439383231653665323163
|
||||
3665323733306635640a353366346639346133646331653637353530653431623132343932616465
|
||||
3466
|
||||
+2
-2
@@ -21,7 +21,7 @@ decrypt() {
|
||||
list() {
|
||||
echo "${underline}Listing...${nounderline}"
|
||||
i=0
|
||||
for file in inventories/*/group_vars/* inventories/*/host_vars/*;
|
||||
for file in ansible/inventories/*/group_vars/* ansible/inventories/*/host_vars/*;
|
||||
do
|
||||
i=$((i + 1))
|
||||
echo $i")"$file
|
||||
@@ -29,7 +29,7 @@ list() {
|
||||
}
|
||||
|
||||
execute() {
|
||||
for file in inventories/*/group_vars/* inventories/*/host_vars/*;
|
||||
for file in ansible/inventories/*/group_vars/* ansible/inventories/*/host_vars/*;
|
||||
do
|
||||
i=$((i + 1))
|
||||
echo $i")"$file
|
||||
|
||||
Reference in new issue
Block a user