mirror of
https://github.com/jcwimer/startup-infrastructure
synced 2026-03-24 22:34:42 +00:00
Test playbook run
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
---
|
||||
# This playbook deploys a development machine
|
||||
# EXAMPLE:
|
||||
# ansible-playbook -i ${project_dir}/hosts ${project_dir}/playbooks/site.yml \
|
||||
# -extra-vars "home_pub_key=<pub-key-location-to-curl> standard_user=<user_name> git_user=<git-user> git_email=<git-email>"
|
||||
|
||||
- name: Install ansible dependencies
|
||||
hosts: all
|
||||
user: root
|
||||
gather_facts: no
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/ansible-dependencies/tasks/main.yml
|
||||
|
||||
- name: Apply common configuration to all nodes
|
||||
hosts: all
|
||||
user: root
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/common/tasks/main.yml
|
||||
|
||||
- name: Deploy startup-infrastructure swarm stack
|
||||
hosts: bootstrap
|
||||
user: root
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/startup-infrastructure/tasks/main.yml
|
||||
---
|
||||
# This playbook deploys a development machine
|
||||
# EXAMPLE:
|
||||
# ansible-playbook -i ${project_dir}/hosts ${project_dir}/playbooks/site.yml \
|
||||
# -extra-vars "home_pub_key=<pub-key-location-to-curl> standard_user=<user_name> git_user=<git-user> git_email=<git-email>"
|
||||
|
||||
- name: Install ansible dependencies
|
||||
hosts: all
|
||||
user: root
|
||||
gather_facts: no
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/ansible-dependencies/tasks/main.yml
|
||||
|
||||
- name: Apply common configuration to all nodes
|
||||
hosts: all
|
||||
user: root
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/common/tasks/main.yml
|
||||
|
||||
# - name: Deploy startup-infrastructure swarm stack
|
||||
# hosts: bootstrap
|
||||
# user: root
|
||||
# serial: 100%
|
||||
# tasks:
|
||||
# - include: ../roles/startup-infrastructure/tasks/main.yml
|
||||
Reference in New Issue
Block a user