mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
d3857e83d3
commit
9f7a94730c
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Check for reboot
|
||||
become: true
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Check if file exists using stat module
|
||||
stat:
|
||||
|
@ -1,7 +1,7 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Initial Adjustments
|
||||
become: true
|
||||
gather_facts: true
|
||||
gather_facts: no
|
||||
vars:
|
||||
iface: "eth0"
|
||||
tasks:
|
||||
|
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Install omv
|
||||
become: true
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Install ldap packages
|
||||
ansible.builtin.apt:
|
||||
|
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_master
|
||||
name: Setup info display
|
||||
become: true
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Install deps...
|
||||
ansible.builtin.apt:
|
||||
|
@ -2,6 +2,7 @@
|
||||
name: Install docker
|
||||
become: true
|
||||
become_user: root
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Install docker
|
||||
ansible.builtin.apt:
|
||||
|
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Install apparmor
|
||||
become: true
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Install apparmor
|
||||
ansible.builtin.apt:
|
||||
|
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_master
|
||||
name: Install k3s
|
||||
become: true
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Install K3S
|
||||
ansible.builtin.shell: 'curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" INSTALL_K3S_VERSION="v1.24.1+k3s1" sh -s -'
|
||||
|
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_worker
|
||||
name: Setup k3s workers
|
||||
become: true
|
||||
gather_facts: no
|
||||
vars:
|
||||
K3S_TOKEN_HOLDER: "{{ hostvars['K3S_TOKEN_HOLDER']['token'] }}"
|
||||
# K3S_TOKEN_HOLDER: "K10e86c2dee93cc36d405fbeb34ef64e8867c097493ef2e0f2e95feb5bb30ded39b::server:5f3d5033ee0554caab810c863b0587d2"
|
||||
|
@ -1,6 +1,7 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Run script
|
||||
become: true
|
||||
gather_facts: no
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: Reconfigure logo
|
||||
|
@ -1,4 +1,7 @@
|
||||
---
|
||||
- name: Install dependency localy
|
||||
import_playbook: 00_local.yml
|
||||
|
||||
- name: Change creds
|
||||
import_playbook: 00_tst.yml
|
||||
when:
|
||||
|
Loading…
x
Reference in New Issue
Block a user