Skip to content

Commit

Permalink
fix: fix role name #21 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
bissquit authored May 26, 2023
1 parent 3298517 commit f1e4d84
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 48 deletions.
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ etcd_experimental_distributed_tracing_service_name: 'etcd'
etcd_experimental_distributed_tracing_instance_id: ''
# Unsafe flags
etcd_force_new_cluster: 'false' # be careful changing this value!
etcd_unsafe_no_fsync: 'false' # be careful changing this value!
etcd_unsafe_no_fsync: 'false' # be careful changing this value!
# Miscellaneous flags
etcd_version: 'false'
etcd_config_file: /etc/etcd/etcd.conf.yaml # this param won't be in config file, only in systemd unit
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
# meta: clear_facts
- name: "Include etcd_cluster"
ansible.builtin.include_role:
name: "cloud_labs.etcd_cluster"
name: "cloudlabsinfra.etcd_cluster"
5 changes: 3 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

dependency:
name: galaxy
driver:
Expand All @@ -9,7 +10,7 @@ driver:
# - subnet: '172.18.0.0/24'
platforms:
- name: etcd-instance-01
hostname: etcd-instance-01
hostname: etcd-instance-01
# custom docker images with systemd for molecule
# https://github.com/marciopaiva/molecule-systemd-images
image: mpaivabarbosa/molecule-systemd-ubuntu:20.04
Expand All @@ -23,7 +24,7 @@ platforms:
# if it is cgroup2fs, then change /etc/default/grub file, GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0"
# update grub (sudo update-grub), reboot system to eplly changes
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
override_command: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/multi-node/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ platforms:
security_opts:
- seccomp=unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
override_command: false
Expand Down
6 changes: 3 additions & 3 deletions molecule/multi-node_server-auth/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
become: yes
gather_facts: false
vars:
# ansible-etcd-cluster-certificates role related variables
# cloudlabsinfra.etcd_cluster_certificates role related variables
etcd_cert_dir: /etc/ssl/private
# ansible-etcd-cluster role related variables
etcd_trusted_ca_file: "{{ etcd_conf_dir }}/ca.pem"
Expand All @@ -29,8 +29,8 @@
roles:
- { role: andrewrothstein.etcd }
- { role: andrewrothstein.cfssl }
- { role: ansible-etcd-cluster-certificates }
- { role: cloudlabsinfra.etcd_cluster_certificates }
tasks:
- name: "Include etcd_cluster"
ansible.builtin.include_role:
name: "cloud_labs.etcd_cluster"
name: "cloudlabsinfra.etcd_cluster"
2 changes: 1 addition & 1 deletion molecule/multi-node_server-auth/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ platforms:
security_opts:
- seccomp=unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
override_command: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/multi-node_server-auth/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
vars:
etcd_default_inventory_group: etcd
etcd_client_port: 2379
# ansible-etcd-cluster-certificates role related variables
# cloudlabsinfra.etcd_cluster_certificates role related variables
etcd_cert_dir: /etc/ssl/private
tasks:
- name: Include verify
Expand Down
6 changes: 3 additions & 3 deletions molecule/multi-node_server-auth_peer-auth/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
become: yes
gather_facts: false
vars:
# ansible-etcd-cluster-certificates role related variables
# cloudlabsinfra.etcd_cluster_certificates role related variables
etcd_cert_dir: /etc/ssl/private
# ansible-etcd-cluster role related variables
# client/server
Expand Down Expand Up @@ -37,8 +37,8 @@
roles:
- { role: andrewrothstein.etcd }
- { role: andrewrothstein.cfssl }
- { role: ansible-etcd-cluster-certificates }
- { role: cloudlabsinfra.etcd_cluster_certificates }
tasks:
- name: "Include etcd_cluster"
ansible.builtin.include_role:
name: "cloud_labs.etcd_cluster"
name: "cloudlabsinfra.etcd_cluster"
2 changes: 1 addition & 1 deletion molecule/multi-node_server-auth_peer-auth/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ platforms:
security_opts:
- seccomp=unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
pre_build_image: true
override_command: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/multi-node_server-auth_peer-auth/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
vars:
etcd_default_inventory_group: etcd
etcd_client_port: 2379
# ansible-etcd-cluster-certificates role related variables
# cloudlabsinfra.etcd_cluster_certificates role related variables
etcd_cert_dir: /etc/ssl/private
tasks:
- name: Include verify
Expand Down
8 changes: 4 additions & 4 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---

- name: andrewrothstein.etcd
version: v2.3.1

- name: andrewrothstein.cfssl
version: v3.1.1

- name: ansible-etcd-cluster-certificates
scm: git
version: a268bb4 # 0.2.0
src: https://github.com/cloud-labs-infra/ansible-etcd-cluster-certificates.git
- name: cloudlabsinfra.etcd_cluster_certificates
version: v1.0.0

0 comments on commit f1e4d84

Please sign in to comment.