Bladeren bron

remove secret storage option

master
bovenliggende
commit
bd0ce22aba
4 gewijzigde bestanden met toevoegingen van 0 en 24 verwijderingen
  1. +0
    -2
      defaults/main.yaml
  2. +0
    -17
      tasks/local_facts.yaml
  3. +0
    -1
      tasks/main.yaml
  4. +0
    -4
      vars/main.yaml

+ 0
- 2
defaults/main.yaml Bestand weergeven

@@ -1,5 +1,3 @@
---
buildbot_worker_name: buildbot-worker
buildbot_worker_password: "{{ ansible_local[_local_facts_id].worker_password }}"
buildbot_worker_admin_info: ""
buildbot_worker_host_info: ""

+ 0
- 17
tasks/local_facts.yaml Bestand weergeven

@@ -1,17 +0,0 @@
---

- name: ansible local facts directory
file:
path: /etc/ansible/facts.d
state: directory

- name: set ansible local fact
copy:
content: "{{_local_facts|to_json}}"
dest: /etc/ansible/facts.d/{{_local_facts_id}}.fact
mode: 0600
register: _local_facts_set

- name: Gathering Facts
setup:
when: _local_facts_set.changed

+ 0
- 1
tasks/main.yaml Bestand weergeven

@@ -1,5 +1,4 @@
---

- import_tasks: local_facts.yaml
- import_tasks: setup.yaml
- import_tasks: buildbot-worker.yaml

+ 0
- 4
vars/main.yaml Bestand weergeven

@@ -1,8 +1,4 @@
---
_local_facts_id: buildbot_worker_{{buildbot_worker_name}}
_local_facts:
worker_password: "{% if not ansible_local[_local_facts_id].worker_password is defined %}{{ lookup('password', '/dev/null length=16 chars=ascii_letters') }}{% else %}{{ ansible_local[_local_facts_id].worker_password }}{% endif %}"

buildbot_worker_user: "{{ buildbot_worker_name }}"
buildbot_worker_group: "{{ buildbot_worker_name }}"
buildbot_worker_home_directory: "/var/lib/buildbot-worker/{{ buildbot_worker_name }}"

Laden…
Annuleren
Opslaan