setup backups for communityblog and magazine
This commit is contained in:
parent
dc50ea60be
commit
5df94f77ea
5 changed files with 16 additions and 0 deletions
|
@ -24,3 +24,5 @@ taiga.fedorainfracloud.org
|
||||||
taskotron01.qa.fedoraproject.org
|
taskotron01.qa.fedoraproject.org
|
||||||
nuancier01.phx2.fedoraproject.org
|
nuancier01.phx2.fedoraproject.org
|
||||||
piwik.fedorainfracloud.org
|
piwik.fedorainfracloud.org
|
||||||
|
magazine.fedorainfracloud.org
|
||||||
|
communityblog.fedorainfracloud.org
|
||||||
|
|
|
@ -13,6 +13,10 @@ public_ip: 209.132.184.207
|
||||||
root_auth_users: nb chrisroberts
|
root_auth_users: nb chrisroberts
|
||||||
description: fedora community blog
|
description: fedora community blog
|
||||||
|
|
||||||
|
host_backup_targets: ['/backups', '/var/www/html']
|
||||||
|
dbs_to_backup: ['wp']
|
||||||
|
mariadb_root_password: "{{ communityblog_mariadb_password }}"
|
||||||
|
|
||||||
cloud_networks:
|
cloud_networks:
|
||||||
# persistent-net
|
# persistent-net
|
||||||
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
||||||
|
|
|
@ -13,6 +13,10 @@ public_ip: 209.132.184.123
|
||||||
root_auth_users: nb chrisroberts
|
root_auth_users: nb chrisroberts
|
||||||
description: Fedora Magazine
|
description: Fedora Magazine
|
||||||
|
|
||||||
|
host_backup_targets: ['/backups', '/var/www/html']
|
||||||
|
dbs_to_backup: ['wp']
|
||||||
|
mariadb_root_password: "{{ magazine_mariadb_password }}"
|
||||||
|
|
||||||
cloud_networks:
|
cloud_networks:
|
||||||
# persistent-net
|
# persistent-net
|
||||||
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{inventory_hostname}}"
|
hostname: name="{{inventory_hostname}}"
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- mariadb_server
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: add packages
|
- name: add packages
|
||||||
yum: state=present name={{ item }}
|
yum: state=present name={{ item }}
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
hostname: name="{{inventory_hostname}}"
|
hostname: name="{{inventory_hostname}}"
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- mariadb_server
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: add packages
|
- name: add packages
|
||||||
yum: state=present name={{ item }}
|
yum: state=present name={{ item }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue