1
0
mirror of https://github.com/jcwimer/startup-infrastructure synced 2026-04-12 22:06:30 +00:00

Created shell, ansible-dependencies, common, and gitea roles

This commit is contained in:
2018-07-27 00:59:24 +00:00
parent 090805b618
commit 2490fba2a2
15 changed files with 320 additions and 0 deletions

View File

@@ -0,0 +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 gitea
hosts: gitea
user: root
serial: 100%
tasks:
- include: ../roles/gitea/tasks/main.yml