Преглед на файлове

new staging structure

master
Markus Brechtel преди 6 години
родител
ревизия
008b424754
променени са 10 файла, в които са добавени 90 реда и са изтрити 81 реда
  1. +6
    -0
      vdesks-common.yaml
  2. +10
    -0
      vdesks-desktop.yaml
  3. +6
    -0
      vdesks-network.yaml
  4. +8
    -0
      vdesks-provisioning.yaml
  5. +24
    -0
      vdesks.yaml
  6. +0
    -46
      vdesks.yml
  7. +6
    -0
      vpn-common.yml
  8. +6
    -0
      vpn-network.yml
  9. +24
    -0
      vpn.yaml
  10. +0
    -35
      vpn_servers.yml

+ 6
- 0
vdesks-common.yaml Целия файл

@@ -0,0 +1,6 @@
---

- hosts: vdesks
remote_user: root
roles:
- role: common

+ 10
- 0
vdesks-desktop.yaml Целия файл

@@ -0,0 +1,10 @@
---

- hosts: vdesks
remote_user: root
roles:
- role: eralitex_desktop
- role: desktop_apps
- role: libreoffice
- role: atom_editor
- role: ansible

+ 6
- 0
vdesks-network.yaml Целия файл

@@ -0,0 +1,6 @@
---

- hosts: vdesks
remote_user: root
roles:
- role: network

+ 8
- 0
vdesks-provisioning.yaml Целия файл

@@ -0,0 +1,8 @@
---

- hosts: vdesks:&provisioning
remote_user: root
gather_facts: false
roles:
- role: netif
- role: virt_provision

+ 24
- 0
vdesks.yaml Целия файл

@@ -0,0 +1,24 @@
---

- hosts: vdesks
gather_facts: false
roles:
- name: staging
default_stage: provisioning

- import_playbook: vdesks-provisioning.yaml
- import_playbook: vdesks-network.yaml

- hosts: vdesks:&provisioning
remote_user: root
roles:
- name: staging
next_stage: staging

- import_playbook: vdesks-common.yaml

- hosts: vdesks:&staging
remote_user: root
roles:
- name: staging
next_stage: production

+ 0
- 46
vdesks.yml Целия файл

@@ -1,46 +0,0 @@
---

- hosts: vdesks
gather_facts: false
roles:
- name: staging
default_stage: provisioning

- hosts: vdesks:&provisioning
remote_user: root
gather_facts: false
roles:
- role: netif
- role: virt_provision
- role: common
- name: staging
next_stage: staging

- hosts: vdesks
remote_user: root
roles:
- role: common
- role: eralitex_desktop
- role: desktop_apps
- role: libreoffice
- role: atom_editor
- role: ansible
tasks:
- name: install packages
apt:
pkg: "{{item}}"
with_items:
- thunderbird

- hosts: vdesks:&staging
remote_user: root
roles:
- name: staging
next_stage: production

- hosts: vdesks:&recycling
remote_user: root
gather_facts: false
roles:
- role: virt
virt_state: absent

+ 6
- 0
vpn-common.yml Целия файл

@@ -0,0 +1,6 @@
---

- hosts: vpn_servers
remote_user: root
roles:
- role: common

+ 6
- 0
vpn-network.yml Целия файл

@@ -0,0 +1,6 @@
---

- hosts: vpn_servers
remote_user: root
roles:
- role: network

+ 24
- 0
vpn.yaml Целия файл

@@ -0,0 +1,24 @@
---

- hosts: vpn_servers
gather_facts: false
roles:
- name: staging
default_stage: provisioning

- import_playbook: vpn-provisioning.yaml
- import_playbook: vpn-network.yaml

- hosts: vpn_servers:&provisioning
remote_user: root
roles:
- name: staging
next_stage: staging

- import_playbook: vpn-common.yaml

- hosts: vpn_servers:&staging
remote_user: root
roles:
- name: staging
next_stage: production

+ 0
- 35
vpn_servers.yml Целия файл

@@ -1,35 +0,0 @@
---

- hosts: vpn_servers
gather_facts: false
roles:
- name: staging
default_stage: provisioning

- hosts: vpn_servers:&provisioning
remote_user: root
gather_facts: false
roles:
- role: netif
- role: virt_provision
- role: common
- name: staging
next_stage: staging

- hosts: vpn_servers
remote_user: root
roles:
- role: common

# - hosts: vpn_servers:&staging
# remote_user: root
# roles:
# - name: staging
# next_stage: production

# - hosts: vpn_servers:&recycling
# remote_user: root
# gather_facts: false
# roles:
# - role: virt
# virt_state: absent