Created
November 22, 2016 00:11
-
-
Save jamielennox/9f268fc1e62b3bae92fa884f40560d18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contrasjc-bastion ansible_ssh_host=169.45.80.29 | |
[bastion] | |
contrasjc-bastion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Configure bastion | |
hosts: bastion | |
become: true | |
vars: | |
nodepool_mysql_user: "{{ secrets.nodepool.db_user }}" | |
nodepool_mysql_password: "{{ secrets.nodepool.db_password }}" | |
nodepool_mysql_host: "localhost" | |
nodepool_providers: | |
- name: cicloud | |
cloud: contra-sjc | |
max-servers: 10 | |
networks: | |
- name: sl-private-network-01 | |
images: | |
- name: ubuntu-trusty | |
min-ram: 2048 | |
diskimage: ubuntu-trusty | |
private-key: /var/lib/nodepool/.ssh/id_rsa | |
- name: ubuntu-xenial | |
min-ram: 2048 | |
diskimage: ubuntu-xenial | |
private-key: /var/lib/nodepool/.ssh/id_rsa | |
roles: | |
# - common | |
# - role: dd-agent | |
# - role: databases | |
# when: secrets is defined | |
# - bastion | |
# - gearman | |
# - dd-gearman | |
# - mysql | |
# | |
- role: zuul | |
# zuul_statsd_enable: yes | |
# - dd-mysql | |
# - dd-zuul | |
# - role: nodepool | |
# nodepool_statsd_enable: yes | |
# - dd-zookeeper | |
# - role: ansible-runner | |
# ansible_runner_job: system-ansible | |
# ansible_playbook: bastion.yml | |
# ansible_inventory: /opt/source/system-ansible/inventory/bastion-localhost | |
# ansible_runner_user: root | |
# ansible_runner_repo: https://github.com/BonnyCI/hoist.git | |
# ansible_runner_minute: "*/15" | |
# - role: ansible-runner | |
# ansible_playbook: install-ci.yml | |
# ansible_inventory: /opt/source/cideploy/inventory/openstack.py | |
# ansible_runner_job: cideploy | |
# ansible_runner_user: cideploy | |
# ansible_remote_user: ubuntu | |
# ansible_runner_repo: https://github.com/BonnyCI/hoist.git | |
# ansible_runner_minute: "*/15" | |
# - role: elasticsearch | |
# elasticsearch_network_host: 127.0.0.1 | |
# - role: dd-elasticsearch | |
# - role: filebeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment