Skip to content
Snippets Groups Projects
Verified Commit f4b276c8 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

playbooks: Add the archweb role to apollo and change the orion role to use the...

playbooks: Add the archweb role to apollo and change the orion role to use the new default variables, with a global db host variable
parent 5ba23e32
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,5 @@
- { role: postgres, postgres_max_connections: 1000, postgres_shared_buffers: 4096MB, tags: ['postgres'] }
- { role: sudo, tags: ['sudo'] }
- { role: uwsgi, tags: ['uwsgi'] }
- { role: archweb, tags: ["archweb"] }
- { role: security_tracker, security_tracker_domain: "security.archlinux.org", security_tracker_dir: "/srv/http/security-tracker", tags: ["security_tracker"] }
......@@ -3,6 +3,8 @@
- name: setup orion
hosts: orion
remote_user: root
vars:
archweb_db_host: 'apollo.archlinux.org'
roles:
- { role: common, tags: ['common'] }
- { role: tools, tags: ['tools'] }
......@@ -15,5 +17,5 @@
- { role: nginx, letsencrypt_validation_dir: "/var/lib/letsencrypt", tags: ["nginx"] }
- { role: dbscripts, repos_domain: "repos.archlinux.org", svntogit_repos: "/srv/svntogit/repos", tags: ['dbscripts', 'archusers'] }
- { role: sudo, tags: ['sudo', 'archusers'] }
- { role: archweb, archweb_home: "/srv/http/archweb", tags: ['archweb'] }
- { role: archweb, archweb_site: false, archweb_services: true, archweb_mirrorcheck_locations: [5, 6], tags: ['archweb'] }
- { role: sources, sources_domain: "sources.archlinux.org", sources_dir: "/srv/sources", tags: ['sources'] }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment