11-25 update
This commit is contained in:
51
test.yaml
51
test.yaml
@ -1,9 +1,10 @@
|
||||
---
|
||||
# https://us.fanntik.top/product/fanttik-e1-max-precision-electric-screwdriver-5/
|
||||
# https://www.newyorker.com/culture/the-new-yorker-documentary/the-shutdown-of-usaid-has-already-killed-hundreds-of-thousands
|
||||
- name: Ansible Test
|
||||
hosts: all
|
||||
become: yes
|
||||
vars:
|
||||
docker_full: false
|
||||
v4l2_id_string:
|
||||
- "earlytest"
|
||||
- "AV TO USB2.0"
|
||||
@ -12,6 +13,7 @@
|
||||
- "beholdmybutthole"
|
||||
video_ID_0: ""
|
||||
ip_check_folder: "/opt/cosmos/ip_check"
|
||||
|
||||
#vpn_endpoint: "172.30.2.1"
|
||||
#gather_only: true
|
||||
#cpu_architecture: "amd64"
|
||||
@ -54,24 +56,39 @@
|
||||
# --window-position="480,0" \
|
||||
|
||||
|
||||
# roles:
|
||||
# - chrome_kiosk
|
||||
roles:
|
||||
- docker_workstation
|
||||
|
||||
|
||||
tasks:
|
||||
|
||||
- name: user security check
|
||||
include_role:
|
||||
name: "cosmos_init"
|
||||
vars:
|
||||
security_check_only: true
|
||||
|
||||
- name: get debian version info
|
||||
shell: 'cat /etc/os-release | grep VERSION_ID | cut -d\" -f2'
|
||||
register: os_version_id_output
|
||||
- debug:
|
||||
msg: |
|
||||
{{ os_version_id_output.stdout_lines[0] }}
|
||||
# tasks:
|
||||
# - name: show user vars
|
||||
# debug:
|
||||
# msg:
|
||||
# - "User email:"
|
||||
# - "{{ jenkins_user}}"
|
||||
# - "Jenkins Group:"
|
||||
# - "{{ jenkins_group}}"
|
||||
# - "SERVER_SUBNET_GROUP:"
|
||||
# - "{{ SERVER_SUBNET_GROUP }}"
|
||||
# - "subnet_group_check:"
|
||||
# - "{{ subnet_group_check }}"
|
||||
# - "Host IP:"
|
||||
# - "{{ ansible_ssh_host }}"
|
||||
|
||||
|
||||
# - name: test tempate
|
||||
# template:
|
||||
# src: test.j2
|
||||
# dest: "/opt/cosmos/test-template.conf"
|
||||
# mode: 0644
|
||||
|
||||
|
||||
# - name: get debian version info
|
||||
# shell: 'cat /etc/os-release | grep VERSION_ID | cut -d\" -f2'
|
||||
# register: os_version_id_output
|
||||
# - debug:
|
||||
# msg: |
|
||||
# {{ os_version_id_output.stdout_lines[0] }}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user