Commit 323fadb8 authored by eric pellegrini's avatar eric pellegrini

renamed different plays and roles

parent 57f0d122
---
# play me with: ansible-playbook -i inventories/hosts.yml --ask-vault-pass -e "@passwords.yml"
- name: setup openstack cluster
import_playbook: "{{ playbook_dir | dirname }}/plays/setup_os_cluster.yml"
import_playbook: "{{ playbook_dir | dirname }}/plays/create_os_cluster.yml"
- name: create dynamic inventories
import_playbook: "{{ playbook_dir | dirname }}/plays/os_dynamic_inventories.yml"
......
---
# play me with: ansible-playbook -i inventories/hosts.yml --ask-vault-pass -e "@passwords.yml" -e @example/kubernetes.yml playbooks/deploy_kubernetes.yml
- name: setup openstack cluster
import_playbook: "{{ playbook_dir | dirname }}/plays/setup_os_cluster.yml"
import_playbook: "{{ playbook_dir | dirname }}/plays/create_os_cluster.yml"
- name: create dynamic inventories
import_playbook: "{{ playbook_dir | dirname }}/plays/os_dynamic_inventories.yml"
......
......@@ -8,6 +8,6 @@
tasks:
- import_role:
name: roles/add-workers
name: roles/add-k8s-workers
vars:
join_command_file: /tmp/kub-join-command.sh
......@@ -8,7 +8,7 @@
tasks:
- import_role:
name: roles/master-nodes
name: roles/k8s-master
vars:
pods_cidr: "{{ kubernetes.pods_cidr }}"
pods_network_config: "{{ kubernetes.pods_network_config }}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment