├── roles ├── mysql │ ├── tests │ │ ├── inventory │ │ └── test.yml │ ├── vars │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── defaults │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ ├── .travis.yml │ ├── README.md │ └── meta │ │ └── main.yml ├── php │ ├── tests │ │ ├── inventory │ │ └── test.yml │ ├── vars │ │ └── main.yml │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ ├── .travis.yml │ ├── README.md │ └── meta │ │ └── main.yml ├── server │ ├── tests │ │ ├── inventory │ │ └── test.yml │ ├── vars │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── defaults │ │ └── main.yml │ ├── .travis.yml │ ├── README.md │ ├── tasks │ │ └── main.yml │ └── meta │ │ └── main.yml └── wordpress │ ├── tests │ ├── inventory │ └── test.yml │ ├── vars │ └── main.yml │ ├── defaults │ └── main.yml │ ├── handlers │ ├── main.yml │ └── main.yml.orig │ ├── .travis.yml │ ├── tasks │ └── main.yml │ ├── README.md │ └── meta │ └── main.yml ├── hosts ├── playbook.yml ├── README.md └── LICENSE /roles/mysql/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost -------------------------------------------------------------------------------- /roles/php/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost -------------------------------------------------------------------------------- /roles/server/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost -------------------------------------------------------------------------------- /roles/wordpress/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost -------------------------------------------------------------------------------- /roles/php/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for php 3 | -------------------------------------------------------------------------------- /roles/mysql/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for mysql 3 | -------------------------------------------------------------------------------- /roles/php/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # defaults file for php 3 | -------------------------------------------------------------------------------- /roles/php/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for php 3 | -------------------------------------------------------------------------------- /roles/server/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for server 3 | -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- 1 | [wordpress] 2 | localhost ansible_connection=local 3 | 4 | -------------------------------------------------------------------------------- /roles/mysql/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for mysql 3 | -------------------------------------------------------------------------------- /roles/wordpress/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for wordpress 3 | -------------------------------------------------------------------------------- /roles/server/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for server 3 | -------------------------------------------------------------------------------- /roles/wordpress/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # defaults file for wordpress 3 | -------------------------------------------------------------------------------- /roles/php/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - php -------------------------------------------------------------------------------- /roles/mysql/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - mysql -------------------------------------------------------------------------------- /roles/server/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - server -------------------------------------------------------------------------------- /roles/wordpress/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - wordpress -------------------------------------------------------------------------------- /playbook.yml: -------------------------------------------------------------------------------- 1 | - hosts: wordpress 2 | 3 | roles: 4 | - server 5 | - php 6 | - mysql 7 | - wordpress 8 | -------------------------------------------------------------------------------- /roles/wordpress/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: restart apache 3 | service: name=apache2 state=restarted 4 | sudo: yes 5 | 6 | # handlers file for wordpress 7 | -------------------------------------------------------------------------------- /roles/wordpress/handlers/main.yml.orig: -------------------------------------------------------------------------------- 1 | --- 2 | - name: restart apache 3 | service: name=apache2 state=restarted 4 | sudo: yes 5 | 6 | # handlers file for wordpress 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wordpress-ansible 2 | 3 | Tested on *Ubuntu 16.04.2 LTS* 4 | 5 | ``` 6 | sudo ansible-playbook playbook.yml -i hosts -e mysql_root_password=#password# 7 | ``` 8 | 9 | -------------------------------------------------------------------------------- /roles/php/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Install php extensions 3 | apt: name={{ item }} state=present 4 | sudo: yes 5 | with_items: 6 | - php-gd 7 | - php-ssh2 8 | 9 | # tasks file for php 10 | -------------------------------------------------------------------------------- /roles/server/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | mysql_admin_user: root 3 | # http://stackoverflow.com/questions/35105615/ansible-use-default-if-a-variable-is-not-defined 4 | mysql_admin_password: "{{ mysql_root_password | default('root') }}" 5 | 6 | -------------------------------------------------------------------------------- /roles/mysql/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | wp_mysql_db: wordpress 3 | wp_mysql_user: wordpress 4 | wp_mysql_password: WordPress!32 5 | login_user: "{{ mysql_admin_user }}" 6 | login_password: "{{ mysql_admin_password }}" 7 | 8 | # defaults file for mysql 9 | -------------------------------------------------------------------------------- /roles/mysql/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Create mysql database 3 | mysql_db: 4 | name={{ wp_mysql_db }} 5 | state=present 6 | login_user={{ login_user }} 7 | login_password={{ login_password }} 8 | 9 | - name: Create mysql user 10 | mysql_user: 11 | name={{ wp_mysql_user }} 12 | password={{ wp_mysql_password }} 13 | priv=*.*:ALL 14 | login_user={{ login_user }} 15 | login_password={{ login_password }} 16 | 17 | -------------------------------------------------------------------------------- /roles/mysql/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: python 3 | python: "2.7" 4 | 5 | # Use the new container infrastructure 6 | sudo: false 7 | 8 | # Install ansible 9 | addons: 10 | apt: 11 | packages: 12 | - python-pip 13 | 14 | install: 15 | # Install ansible 16 | - pip install ansible 17 | 18 | # Check ansible version 19 | - ansible --version 20 | 21 | # Create ansible.cfg with correct roles_path 22 | - printf '[defaults]\nroles_path=../' >ansible.cfg 23 | 24 | script: 25 | # Basic role syntax check 26 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check 27 | 28 | notifications: 29 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ -------------------------------------------------------------------------------- /roles/php/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: python 3 | python: "2.7" 4 | 5 | # Use the new container infrastructure 6 | sudo: false 7 | 8 | # Install ansible 9 | addons: 10 | apt: 11 | packages: 12 | - python-pip 13 | 14 | install: 15 | # Install ansible 16 | - pip install ansible 17 | 18 | # Check ansible version 19 | - ansible --version 20 | 21 | # Create ansible.cfg with correct roles_path 22 | - printf '[defaults]\nroles_path=../' >ansible.cfg 23 | 24 | script: 25 | # Basic role syntax check 26 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check 27 | 28 | notifications: 29 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ -------------------------------------------------------------------------------- /roles/server/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: python 3 | python: "2.7" 4 | 5 | # Use the new container infrastructure 6 | sudo: false 7 | 8 | # Install ansible 9 | addons: 10 | apt: 11 | packages: 12 | - python-pip 13 | 14 | install: 15 | # Install ansible 16 | - pip install ansible 17 | 18 | # Check ansible version 19 | - ansible --version 20 | 21 | # Create ansible.cfg with correct roles_path 22 | - printf '[defaults]\nroles_path=../' >ansible.cfg 23 | 24 | script: 25 | # Basic role syntax check 26 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check 27 | 28 | notifications: 29 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ -------------------------------------------------------------------------------- /roles/wordpress/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: python 3 | python: "2.7" 4 | 5 | # Use the new container infrastructure 6 | sudo: false 7 | 8 | # Install ansible 9 | addons: 10 | apt: 11 | packages: 12 | - python-pip 13 | 14 | install: 15 | # Install ansible 16 | - pip install ansible 17 | 18 | # Check ansible version 19 | - ansible --version 20 | 21 | # Create ansible.cfg with correct roles_path 22 | - printf '[defaults]\nroles_path=../' >ansible.cfg 23 | 24 | script: 25 | # Basic role syntax check 26 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check 27 | 28 | notifications: 29 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Andrei Pak 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /roles/wordpress/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Download WordPress 3 | get_url: 4 | url=https://wordpress.org/latest.tar.gz 5 | dest=/tmp/wordpress.tar.gz 6 | validate_certs=no 7 | 8 | - name: Extract WordPress 9 | unarchive: src=/tmp/wordpress.tar.gz dest=/var/www/ copy=no 10 | sudo: yes 11 | 12 | - name: Update default Apache site 13 | sudo: yes 14 | lineinfile: 15 | dest=/etc/apache2/sites-enabled/000-default.conf 16 | regexp="(.)+DocumentRoot /var/www/html" 17 | line="DocumentRoot /var/www/wordpress" 18 | notify: 19 | - restart apache 20 | 21 | - name: Copy sample config file 22 | command: mv /var/www/wordpress/wp-config-sample.php /var/www/wordpress/wp-config.php creates=/var/www/wordpress/wp-config.php 23 | sudo: yes 24 | 25 | - name: Create upload folder 26 | file: path=/var/www/wordpress/wp-content/uploads state=directory mode=0755 owner=www-data 27 | 28 | - name: Update WordPress config file 29 | lineinfile: 30 | dest=/var/www/wordpress/wp-config.php 31 | regexp="{{ item.regexp }}" 32 | line="{{ item.line }}" 33 | with_items: 34 | - {'regexp': "define\\('DB_NAME', '(.)+'\\);", 'line': "define('DB_NAME', '{{wp_mysql_db}}');"} 35 | - {'regexp': "define\\('DB_USER', '(.)+'\\);", 'line': "define('DB_USER', '{{wp_mysql_user}}');"} 36 | - {'regexp': "define\\('DB_PASSWORD', '(.)+'\\);", 'line': "define('DB_PASSWORD', '{{wp_mysql_password}}');"} 37 | sudo: yes 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /roles/php/README.md: -------------------------------------------------------------------------------- 1 | Role Name 2 | ========= 3 | 4 | A brief description of the role goes here. 5 | 6 | Requirements 7 | ------------ 8 | 9 | Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. 10 | 11 | Role Variables 12 | -------------- 13 | 14 | A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. 15 | 16 | Dependencies 17 | ------------ 18 | 19 | A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. 20 | 21 | Example Playbook 22 | ---------------- 23 | 24 | Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: 25 | 26 | - hosts: servers 27 | roles: 28 | - { role: username.rolename, x: 42 } 29 | 30 | License 31 | ------- 32 | 33 | BSD 34 | 35 | Author Information 36 | ------------------ 37 | 38 | An optional section for the role authors to include contact information, or a website (HTML is not allowed). 39 | -------------------------------------------------------------------------------- /roles/mysql/README.md: -------------------------------------------------------------------------------- 1 | Role Name 2 | ========= 3 | 4 | A brief description of the role goes here. 5 | 6 | Requirements 7 | ------------ 8 | 9 | Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. 10 | 11 | Role Variables 12 | -------------- 13 | 14 | A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. 15 | 16 | Dependencies 17 | ------------ 18 | 19 | A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. 20 | 21 | Example Playbook 22 | ---------------- 23 | 24 | Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: 25 | 26 | - hosts: servers 27 | roles: 28 | - { role: username.rolename, x: 42 } 29 | 30 | License 31 | ------- 32 | 33 | BSD 34 | 35 | Author Information 36 | ------------------ 37 | 38 | An optional section for the role authors to include contact information, or a website (HTML is not allowed). 39 | -------------------------------------------------------------------------------- /roles/server/README.md: -------------------------------------------------------------------------------- 1 | Role Name 2 | ========= 3 | 4 | A brief description of the role goes here. 5 | 6 | Requirements 7 | ------------ 8 | 9 | Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. 10 | 11 | Role Variables 12 | -------------- 13 | 14 | A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. 15 | 16 | Dependencies 17 | ------------ 18 | 19 | A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. 20 | 21 | Example Playbook 22 | ---------------- 23 | 24 | Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: 25 | 26 | - hosts: servers 27 | roles: 28 | - { role: username.rolename, x: 42 } 29 | 30 | License 31 | ------- 32 | 33 | BSD 34 | 35 | Author Information 36 | ------------------ 37 | 38 | An optional section for the role authors to include contact information, or a website (HTML is not allowed). 39 | -------------------------------------------------------------------------------- /roles/wordpress/README.md: -------------------------------------------------------------------------------- 1 | Role Name 2 | ========= 3 | 4 | A brief description of the role goes here. 5 | 6 | Requirements 7 | ------------ 8 | 9 | Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. 10 | 11 | Role Variables 12 | -------------- 13 | 14 | A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. 15 | 16 | Dependencies 17 | ------------ 18 | 19 | A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. 20 | 21 | Example Playbook 22 | ---------------- 23 | 24 | Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: 25 | 26 | - hosts: servers 27 | roles: 28 | - { role: username.rolename, x: 42 } 29 | 30 | License 31 | ------- 32 | 33 | BSD 34 | 35 | Author Information 36 | ------------------ 37 | 38 | An optional section for the role authors to include contact information, or a website (HTML is not allowed). 39 | -------------------------------------------------------------------------------- /roles/server/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Update apt cache 3 | apt: update_cache=yes cache_valid_time=3600 4 | sudo: yes 5 | 6 | 7 | - debconf: 8 | name: mysql-server 9 | question: mysql-server/root_password 10 | vtype: password 11 | value: "{{ mysql_admin_password }}" 12 | 13 | 14 | - debconf: 15 | name: mysql-server 16 | question: mysql-server/root_password_again 17 | vtype: password 18 | value: "{{ mysql_admin_password }}" 19 | 20 | 21 | - name: Install mysql-server 22 | apt: name=mysql-server state=present 23 | sudo: yes 24 | 25 | - debconf: 26 | name: mysql-server 27 | question: mysql-server/root_password 28 | vtype: password 29 | value: "password" 30 | 31 | 32 | - debconf: 33 | name: mysql-server 34 | question: mysql-server/root_password_again 35 | vtype: password 36 | value: "password" 37 | 38 | 39 | - name: Install required software 40 | apt: name={{ item }} state=present 41 | sudo: yes 42 | with_items: 43 | - apache2 44 | #- mysql-server 45 | - php-mysql 46 | - php 47 | - libapache2-mod-php 48 | - php-mcrypt 49 | - python-mysqldb 50 | 51 | # https://coderwall.com/p/yez9yw/secure-mysql-with-ansible 52 | 53 | # - name: ensure mysql is running and starts on boot 54 | # service: name=mysql state=started enabled=true 55 | # 56 | # # http://ansible.cc/docs/modules.html#mysql-user 57 | # - name: update mysql root password for all root accounts 58 | # mysql_user: name=root host=localhost password=r00t13 59 | # 60 | # #- name: update mysql root password for all root accounts 61 | # # mysql_user: name=root host={{ item }} password={{ root_db_password }} 62 | # # with_items: 63 | # # - 127.0.0.1 64 | # # - ::1 65 | # 66 | # - name: ensure anonymous users are not in the database 67 | # mysql_user: name='' host={{ item }} state=absent 68 | # with_items: 69 | # - localhost 70 | # 71 | # - name: remove the test database 72 | # mysql_db: name=test state=absent 73 | 74 | -------------------------------------------------------------------------------- /roles/mysql/meta/main.yml: -------------------------------------------------------------------------------- 1 | galaxy_info: 2 | author: your name 3 | description: 4 | company: your company (optional) 5 | 6 | # If the issue tracker for your role is not on github, uncomment the 7 | # next line and provide a value 8 | # issue_tracker_url: http://example.com/issue/tracker 9 | 10 | # Some suggested licenses: 11 | # - BSD (default) 12 | # - MIT 13 | # - GPLv2 14 | # - GPLv3 15 | # - Apache 16 | # - CC-BY 17 | license: license (GPLv2, CC-BY, etc) 18 | 19 | min_ansible_version: 1.2 20 | 21 | # Optionally specify the branch Galaxy will use when accessing the GitHub 22 | # repo for this role. During role install, if no tags are available, 23 | # Galaxy will use this branch. During import Galaxy will access files on 24 | # this branch. If travis integration is cofigured, only notification for this 25 | # branch will be accepted. Otherwise, in all cases, the repo's default branch 26 | # (usually master) will be used. 27 | #github_branch: 28 | 29 | # 30 | # Below are all platforms currently available. Just uncomment 31 | # the ones that apply to your role. If you don't see your 32 | # platform on this list, let us know and we'll get it added! 33 | # 34 | #platforms: 35 | #- name: OpenBSD 36 | # versions: 37 | # - all 38 | # - 5.6 39 | # - 5.7 40 | # - 5.8 41 | # - 5.9 42 | # - 6.0 43 | #- name: Fedora 44 | # versions: 45 | # - all 46 | # - 16 47 | # - 17 48 | # - 18 49 | # - 19 50 | # - 20 51 | # - 21 52 | # - 22 53 | # - 23 54 | # - 24 55 | # - 25 56 | #- name: DellOS 57 | # versions: 58 | # - all 59 | # - 10 60 | # - 6 61 | # - 9 62 | #- name: MacOSX 63 | # versions: 64 | # - all 65 | # - 10.10 66 | # - 10.11 67 | # - 10.12 68 | # - 10.7 69 | # - 10.8 70 | # - 10.9 71 | #- name: Synology 72 | # versions: 73 | # - all 74 | # - any 75 | #- name: Junos 76 | # versions: 77 | # - all 78 | # - any 79 | #- name: GenericBSD 80 | # versions: 81 | # - all 82 | # - any 83 | #- name: Void Linux 84 | # versions: 85 | # - all 86 | # - any 87 | #- name: GenericLinux 88 | # versions: 89 | # - all 90 | # - any 91 | #- name: NXOS 92 | # versions: 93 | # - all 94 | # - any 95 | #- name: IOS 96 | # versions: 97 | # - all 98 | # - any 99 | #- name: Amazon 100 | # versions: 101 | # - all 102 | # - 2013.03 103 | # - 2013.09 104 | # - 2016.03 105 | # - 2016.09 106 | #- name: ArchLinux 107 | # versions: 108 | # - all 109 | # - any 110 | #- name: FreeBSD 111 | # versions: 112 | # - all 113 | # - 10.0 114 | # - 10.1 115 | # - 10.2 116 | # - 10.3 117 | # - 11.0 118 | # - 8.0 119 | # - 8.1 120 | # - 8.2 121 | # - 8.3 122 | # - 8.4 123 | # - 9.0 124 | # - 9.1 125 | # - 9.1 126 | # - 9.2 127 | # - 9.3 128 | #- name: Ubuntu 129 | # versions: 130 | # - all 131 | # - lucid 132 | # - maverick 133 | # - natty 134 | # - oneiric 135 | # - precise 136 | # - quantal 137 | # - raring 138 | # - saucy 139 | # - trusty 140 | # - utopic 141 | # - vivid 142 | # - wily 143 | # - xenial 144 | # - yakkety 145 | #- name: Debian 146 | # versions: 147 | # - all 148 | # - etch 149 | # - jessie 150 | # - lenny 151 | # - sid 152 | # - squeeze 153 | # - stretch 154 | # - wheezy 155 | #- name: Alpine 156 | # versions: 157 | # - all 158 | # - any 159 | #- name: EL 160 | # versions: 161 | # - all 162 | # - 5 163 | # - 6 164 | # - 7 165 | #- name: Windows 166 | # versions: 167 | # - all 168 | # - 2012R2 169 | #- name: SmartOS 170 | # versions: 171 | # - all 172 | # - any 173 | #- name: opensuse 174 | # versions: 175 | # - all 176 | # - 12.1 177 | # - 12.2 178 | # - 12.3 179 | # - 13.1 180 | # - 13.2 181 | #- name: SLES 182 | # versions: 183 | # - all 184 | # - 10SP3 185 | # - 10SP4 186 | # - 11 187 | # - 11SP1 188 | # - 11SP2 189 | # - 11SP3 190 | # - 11SP4 191 | # - 12 192 | # - 12SP1 193 | #- name: GenericUNIX 194 | # versions: 195 | # - all 196 | # - any 197 | #- name: Solaris 198 | # versions: 199 | # - all 200 | # - 10 201 | # - 11.0 202 | # - 11.1 203 | # - 11.2 204 | # - 11.3 205 | #- name: eos 206 | # versions: 207 | # - all 208 | # - Any 209 | 210 | galaxy_tags: [] 211 | # List tags for your role here, one per line. A tag is 212 | # a keyword that describes and categorizes the role. 213 | # Users find roles by searching for tags. Be sure to 214 | # remove the '[]' above if you add tags to this list. 215 | # 216 | # NOTE: A tag is limited to a single word comprised of 217 | # alphanumeric characters. Maximum 20 tags per role. 218 | 219 | dependencies: [] 220 | # List your role dependencies here, one per line. 221 | # Be sure to remove the '[]' above if you add dependencies 222 | # to this list. -------------------------------------------------------------------------------- /roles/php/meta/main.yml: -------------------------------------------------------------------------------- 1 | galaxy_info: 2 | author: your name 3 | description: 4 | company: your company (optional) 5 | 6 | # If the issue tracker for your role is not on github, uncomment the 7 | # next line and provide a value 8 | # issue_tracker_url: http://example.com/issue/tracker 9 | 10 | # Some suggested licenses: 11 | # - BSD (default) 12 | # - MIT 13 | # - GPLv2 14 | # - GPLv3 15 | # - Apache 16 | # - CC-BY 17 | license: license (GPLv2, CC-BY, etc) 18 | 19 | min_ansible_version: 1.2 20 | 21 | # Optionally specify the branch Galaxy will use when accessing the GitHub 22 | # repo for this role. During role install, if no tags are available, 23 | # Galaxy will use this branch. During import Galaxy will access files on 24 | # this branch. If travis integration is cofigured, only notification for this 25 | # branch will be accepted. Otherwise, in all cases, the repo's default branch 26 | # (usually master) will be used. 27 | #github_branch: 28 | 29 | # 30 | # Below are all platforms currently available. Just uncomment 31 | # the ones that apply to your role. If you don't see your 32 | # platform on this list, let us know and we'll get it added! 33 | # 34 | #platforms: 35 | #- name: OpenBSD 36 | # versions: 37 | # - all 38 | # - 5.6 39 | # - 5.7 40 | # - 5.8 41 | # - 5.9 42 | # - 6.0 43 | #- name: Fedora 44 | # versions: 45 | # - all 46 | # - 16 47 | # - 17 48 | # - 18 49 | # - 19 50 | # - 20 51 | # - 21 52 | # - 22 53 | # - 23 54 | # - 24 55 | # - 25 56 | #- name: DellOS 57 | # versions: 58 | # - all 59 | # - 10 60 | # - 6 61 | # - 9 62 | #- name: MacOSX 63 | # versions: 64 | # - all 65 | # - 10.10 66 | # - 10.11 67 | # - 10.12 68 | # - 10.7 69 | # - 10.8 70 | # - 10.9 71 | #- name: Synology 72 | # versions: 73 | # - all 74 | # - any 75 | #- name: Junos 76 | # versions: 77 | # - all 78 | # - any 79 | #- name: GenericBSD 80 | # versions: 81 | # - all 82 | # - any 83 | #- name: Void Linux 84 | # versions: 85 | # - all 86 | # - any 87 | #- name: GenericLinux 88 | # versions: 89 | # - all 90 | # - any 91 | #- name: NXOS 92 | # versions: 93 | # - all 94 | # - any 95 | #- name: IOS 96 | # versions: 97 | # - all 98 | # - any 99 | #- name: Amazon 100 | # versions: 101 | # - all 102 | # - 2013.03 103 | # - 2013.09 104 | # - 2016.03 105 | # - 2016.09 106 | #- name: ArchLinux 107 | # versions: 108 | # - all 109 | # - any 110 | #- name: FreeBSD 111 | # versions: 112 | # - all 113 | # - 10.0 114 | # - 10.1 115 | # - 10.2 116 | # - 10.3 117 | # - 11.0 118 | # - 8.0 119 | # - 8.1 120 | # - 8.2 121 | # - 8.3 122 | # - 8.4 123 | # - 9.0 124 | # - 9.1 125 | # - 9.1 126 | # - 9.2 127 | # - 9.3 128 | #- name: Ubuntu 129 | # versions: 130 | # - all 131 | # - lucid 132 | # - maverick 133 | # - natty 134 | # - oneiric 135 | # - precise 136 | # - quantal 137 | # - raring 138 | # - saucy 139 | # - trusty 140 | # - utopic 141 | # - vivid 142 | # - wily 143 | # - xenial 144 | # - yakkety 145 | #- name: Debian 146 | # versions: 147 | # - all 148 | # - etch 149 | # - jessie 150 | # - lenny 151 | # - sid 152 | # - squeeze 153 | # - stretch 154 | # - wheezy 155 | #- name: Alpine 156 | # versions: 157 | # - all 158 | # - any 159 | #- name: EL 160 | # versions: 161 | # - all 162 | # - 5 163 | # - 6 164 | # - 7 165 | #- name: Windows 166 | # versions: 167 | # - all 168 | # - 2012R2 169 | #- name: SmartOS 170 | # versions: 171 | # - all 172 | # - any 173 | #- name: opensuse 174 | # versions: 175 | # - all 176 | # - 12.1 177 | # - 12.2 178 | # - 12.3 179 | # - 13.1 180 | # - 13.2 181 | #- name: SLES 182 | # versions: 183 | # - all 184 | # - 10SP3 185 | # - 10SP4 186 | # - 11 187 | # - 11SP1 188 | # - 11SP2 189 | # - 11SP3 190 | # - 11SP4 191 | # - 12 192 | # - 12SP1 193 | #- name: GenericUNIX 194 | # versions: 195 | # - all 196 | # - any 197 | #- name: Solaris 198 | # versions: 199 | # - all 200 | # - 10 201 | # - 11.0 202 | # - 11.1 203 | # - 11.2 204 | # - 11.3 205 | #- name: eos 206 | # versions: 207 | # - all 208 | # - Any 209 | 210 | galaxy_tags: [] 211 | # List tags for your role here, one per line. A tag is 212 | # a keyword that describes and categorizes the role. 213 | # Users find roles by searching for tags. Be sure to 214 | # remove the '[]' above if you add tags to this list. 215 | # 216 | # NOTE: A tag is limited to a single word comprised of 217 | # alphanumeric characters. Maximum 20 tags per role. 218 | 219 | dependencies: [] 220 | # List your role dependencies here, one per line. 221 | # Be sure to remove the '[]' above if you add dependencies 222 | # to this list. -------------------------------------------------------------------------------- /roles/server/meta/main.yml: -------------------------------------------------------------------------------- 1 | galaxy_info: 2 | author: your name 3 | description: 4 | company: your company (optional) 5 | 6 | # If the issue tracker for your role is not on github, uncomment the 7 | # next line and provide a value 8 | # issue_tracker_url: http://example.com/issue/tracker 9 | 10 | # Some suggested licenses: 11 | # - BSD (default) 12 | # - MIT 13 | # - GPLv2 14 | # - GPLv3 15 | # - Apache 16 | # - CC-BY 17 | license: license (GPLv2, CC-BY, etc) 18 | 19 | min_ansible_version: 1.2 20 | 21 | # Optionally specify the branch Galaxy will use when accessing the GitHub 22 | # repo for this role. During role install, if no tags are available, 23 | # Galaxy will use this branch. During import Galaxy will access files on 24 | # this branch. If travis integration is cofigured, only notification for this 25 | # branch will be accepted. Otherwise, in all cases, the repo's default branch 26 | # (usually master) will be used. 27 | #github_branch: 28 | 29 | # 30 | # Below are all platforms currently available. Just uncomment 31 | # the ones that apply to your role. If you don't see your 32 | # platform on this list, let us know and we'll get it added! 33 | # 34 | #platforms: 35 | #- name: OpenBSD 36 | # versions: 37 | # - all 38 | # - 5.6 39 | # - 5.7 40 | # - 5.8 41 | # - 5.9 42 | # - 6.0 43 | #- name: Fedora 44 | # versions: 45 | # - all 46 | # - 16 47 | # - 17 48 | # - 18 49 | # - 19 50 | # - 20 51 | # - 21 52 | # - 22 53 | # - 23 54 | # - 24 55 | # - 25 56 | #- name: DellOS 57 | # versions: 58 | # - all 59 | # - 10 60 | # - 6 61 | # - 9 62 | #- name: MacOSX 63 | # versions: 64 | # - all 65 | # - 10.10 66 | # - 10.11 67 | # - 10.12 68 | # - 10.7 69 | # - 10.8 70 | # - 10.9 71 | #- name: Synology 72 | # versions: 73 | # - all 74 | # - any 75 | #- name: Junos 76 | # versions: 77 | # - all 78 | # - any 79 | #- name: GenericBSD 80 | # versions: 81 | # - all 82 | # - any 83 | #- name: Void Linux 84 | # versions: 85 | # - all 86 | # - any 87 | #- name: GenericLinux 88 | # versions: 89 | # - all 90 | # - any 91 | #- name: NXOS 92 | # versions: 93 | # - all 94 | # - any 95 | #- name: IOS 96 | # versions: 97 | # - all 98 | # - any 99 | #- name: Amazon 100 | # versions: 101 | # - all 102 | # - 2013.03 103 | # - 2013.09 104 | # - 2016.03 105 | # - 2016.09 106 | #- name: ArchLinux 107 | # versions: 108 | # - all 109 | # - any 110 | #- name: FreeBSD 111 | # versions: 112 | # - all 113 | # - 10.0 114 | # - 10.1 115 | # - 10.2 116 | # - 10.3 117 | # - 11.0 118 | # - 8.0 119 | # - 8.1 120 | # - 8.2 121 | # - 8.3 122 | # - 8.4 123 | # - 9.0 124 | # - 9.1 125 | # - 9.1 126 | # - 9.2 127 | # - 9.3 128 | #- name: Ubuntu 129 | # versions: 130 | # - all 131 | # - lucid 132 | # - maverick 133 | # - natty 134 | # - oneiric 135 | # - precise 136 | # - quantal 137 | # - raring 138 | # - saucy 139 | # - trusty 140 | # - utopic 141 | # - vivid 142 | # - wily 143 | # - xenial 144 | # - yakkety 145 | #- name: Debian 146 | # versions: 147 | # - all 148 | # - etch 149 | # - jessie 150 | # - lenny 151 | # - sid 152 | # - squeeze 153 | # - stretch 154 | # - wheezy 155 | #- name: Alpine 156 | # versions: 157 | # - all 158 | # - any 159 | #- name: EL 160 | # versions: 161 | # - all 162 | # - 5 163 | # - 6 164 | # - 7 165 | #- name: Windows 166 | # versions: 167 | # - all 168 | # - 2012R2 169 | #- name: SmartOS 170 | # versions: 171 | # - all 172 | # - any 173 | #- name: opensuse 174 | # versions: 175 | # - all 176 | # - 12.1 177 | # - 12.2 178 | # - 12.3 179 | # - 13.1 180 | # - 13.2 181 | #- name: SLES 182 | # versions: 183 | # - all 184 | # - 10SP3 185 | # - 10SP4 186 | # - 11 187 | # - 11SP1 188 | # - 11SP2 189 | # - 11SP3 190 | # - 11SP4 191 | # - 12 192 | # - 12SP1 193 | #- name: GenericUNIX 194 | # versions: 195 | # - all 196 | # - any 197 | #- name: Solaris 198 | # versions: 199 | # - all 200 | # - 10 201 | # - 11.0 202 | # - 11.1 203 | # - 11.2 204 | # - 11.3 205 | #- name: eos 206 | # versions: 207 | # - all 208 | # - Any 209 | 210 | galaxy_tags: [] 211 | # List tags for your role here, one per line. A tag is 212 | # a keyword that describes and categorizes the role. 213 | # Users find roles by searching for tags. Be sure to 214 | # remove the '[]' above if you add tags to this list. 215 | # 216 | # NOTE: A tag is limited to a single word comprised of 217 | # alphanumeric characters. Maximum 20 tags per role. 218 | 219 | dependencies: [] 220 | # List your role dependencies here, one per line. 221 | # Be sure to remove the '[]' above if you add dependencies 222 | # to this list. -------------------------------------------------------------------------------- /roles/wordpress/meta/main.yml: -------------------------------------------------------------------------------- 1 | galaxy_info: 2 | author: your name 3 | description: 4 | company: your company (optional) 5 | 6 | # If the issue tracker for your role is not on github, uncomment the 7 | # next line and provide a value 8 | # issue_tracker_url: http://example.com/issue/tracker 9 | 10 | # Some suggested licenses: 11 | # - BSD (default) 12 | # - MIT 13 | # - GPLv2 14 | # - GPLv3 15 | # - Apache 16 | # - CC-BY 17 | license: license (GPLv2, CC-BY, etc) 18 | 19 | min_ansible_version: 1.2 20 | 21 | # Optionally specify the branch Galaxy will use when accessing the GitHub 22 | # repo for this role. During role install, if no tags are available, 23 | # Galaxy will use this branch. During import Galaxy will access files on 24 | # this branch. If travis integration is cofigured, only notification for this 25 | # branch will be accepted. Otherwise, in all cases, the repo's default branch 26 | # (usually master) will be used. 27 | #github_branch: 28 | 29 | # 30 | # Below are all platforms currently available. Just uncomment 31 | # the ones that apply to your role. If you don't see your 32 | # platform on this list, let us know and we'll get it added! 33 | # 34 | #platforms: 35 | #- name: OpenBSD 36 | # versions: 37 | # - all 38 | # - 5.6 39 | # - 5.7 40 | # - 5.8 41 | # - 5.9 42 | # - 6.0 43 | #- name: Fedora 44 | # versions: 45 | # - all 46 | # - 16 47 | # - 17 48 | # - 18 49 | # - 19 50 | # - 20 51 | # - 21 52 | # - 22 53 | # - 23 54 | # - 24 55 | # - 25 56 | #- name: DellOS 57 | # versions: 58 | # - all 59 | # - 10 60 | # - 6 61 | # - 9 62 | #- name: MacOSX 63 | # versions: 64 | # - all 65 | # - 10.10 66 | # - 10.11 67 | # - 10.12 68 | # - 10.7 69 | # - 10.8 70 | # - 10.9 71 | #- name: Synology 72 | # versions: 73 | # - all 74 | # - any 75 | #- name: Junos 76 | # versions: 77 | # - all 78 | # - any 79 | #- name: GenericBSD 80 | # versions: 81 | # - all 82 | # - any 83 | #- name: Void Linux 84 | # versions: 85 | # - all 86 | # - any 87 | #- name: GenericLinux 88 | # versions: 89 | # - all 90 | # - any 91 | #- name: NXOS 92 | # versions: 93 | # - all 94 | # - any 95 | #- name: IOS 96 | # versions: 97 | # - all 98 | # - any 99 | #- name: Amazon 100 | # versions: 101 | # - all 102 | # - 2013.03 103 | # - 2013.09 104 | # - 2016.03 105 | # - 2016.09 106 | #- name: ArchLinux 107 | # versions: 108 | # - all 109 | # - any 110 | #- name: FreeBSD 111 | # versions: 112 | # - all 113 | # - 10.0 114 | # - 10.1 115 | # - 10.2 116 | # - 10.3 117 | # - 11.0 118 | # - 8.0 119 | # - 8.1 120 | # - 8.2 121 | # - 8.3 122 | # - 8.4 123 | # - 9.0 124 | # - 9.1 125 | # - 9.1 126 | # - 9.2 127 | # - 9.3 128 | #- name: Ubuntu 129 | # versions: 130 | # - all 131 | # - lucid 132 | # - maverick 133 | # - natty 134 | # - oneiric 135 | # - precise 136 | # - quantal 137 | # - raring 138 | # - saucy 139 | # - trusty 140 | # - utopic 141 | # - vivid 142 | # - wily 143 | # - xenial 144 | # - yakkety 145 | #- name: Debian 146 | # versions: 147 | # - all 148 | # - etch 149 | # - jessie 150 | # - lenny 151 | # - sid 152 | # - squeeze 153 | # - stretch 154 | # - wheezy 155 | #- name: Alpine 156 | # versions: 157 | # - all 158 | # - any 159 | #- name: EL 160 | # versions: 161 | # - all 162 | # - 5 163 | # - 6 164 | # - 7 165 | #- name: Windows 166 | # versions: 167 | # - all 168 | # - 2012R2 169 | #- name: SmartOS 170 | # versions: 171 | # - all 172 | # - any 173 | #- name: opensuse 174 | # versions: 175 | # - all 176 | # - 12.1 177 | # - 12.2 178 | # - 12.3 179 | # - 13.1 180 | # - 13.2 181 | #- name: SLES 182 | # versions: 183 | # - all 184 | # - 10SP3 185 | # - 10SP4 186 | # - 11 187 | # - 11SP1 188 | # - 11SP2 189 | # - 11SP3 190 | # - 11SP4 191 | # - 12 192 | # - 12SP1 193 | #- name: GenericUNIX 194 | # versions: 195 | # - all 196 | # - any 197 | #- name: Solaris 198 | # versions: 199 | # - all 200 | # - 10 201 | # - 11.0 202 | # - 11.1 203 | # - 11.2 204 | # - 11.3 205 | #- name: eos 206 | # versions: 207 | # - all 208 | # - Any 209 | 210 | galaxy_tags: [] 211 | # List tags for your role here, one per line. A tag is 212 | # a keyword that describes and categorizes the role. 213 | # Users find roles by searching for tags. Be sure to 214 | # remove the '[]' above if you add tags to this list. 215 | # 216 | # NOTE: A tag is limited to a single word comprised of 217 | # alphanumeric characters. Maximum 20 tags per role. 218 | 219 | dependencies: [] 220 | # List your role dependencies here, one per line. 221 | # Be sure to remove the '[]' above if you add dependencies 222 | # to this list. --------------------------------------------------------------------------------