Compare commits
2 Commits
2773f537bc
...
1fdb9651c0
Author | SHA1 | Date | |
---|---|---|---|
1fdb9651c0 | |||
3eb5b50832 |
@ -5,11 +5,11 @@
|
||||
- hosts: k8s
|
||||
roles:
|
||||
- role: docker
|
||||
tags: [ k8s, docker ]
|
||||
tags: [ k8s, docker, skip-pull ]
|
||||
# Note: the master and all its nodes must run this role at the same time
|
||||
# in order for the join token to be registered properly.
|
||||
# Failure to do so will result in nodes not joining the cluster.
|
||||
- role: k8s
|
||||
vars:
|
||||
kubernetes_enable_web_ui: yes
|
||||
tags: [ k8s ]
|
||||
tags: [ k8s, skip-pull ]
|
||||
|
@ -3,3 +3,4 @@ ansible_pull_boot_delay: 15min
|
||||
ansible_pull_commit: master
|
||||
ansible_pull_time: "*-*-* 01:00:00"
|
||||
ansible_pull_playbook: site.yml
|
||||
ansible_pull_skip_tags: "skip-pull"
|
||||
|
@ -11,7 +11,7 @@ User=ansible
|
||||
Group=ansible
|
||||
Type=oneshot
|
||||
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg
|
||||
ExecStart=ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -C "{{ ansible_pull_commit }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}"
|
||||
ExecStart=ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -C "{{ ansible_pull_commit }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}" --skip-tags "{{ ansible_pull_skip_tags }}"
|
||||
Restart=on-failure
|
||||
RestartSec=90
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user