removed installed.sh
This commit is contained in:
parent
09830eca51
commit
2a030b639b
1 changed files with 0 additions and 23 deletions
23
install.sh
23
install.sh
|
|
@ -1,23 +0,0 @@
|
||||||
#!/usr/bin/ansible-playbook --inventory=localhost,
|
|
||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
connection: local
|
|
||||||
force_handlers: true
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: auto_silent
|
|
||||||
pre_tasks:
|
|
||||||
- name: Distribution
|
|
||||||
set_fact:
|
|
||||||
distribution: "{{ ansible_distribution }}"
|
|
||||||
hostname: "{{ ansible_hostname }}"
|
|
||||||
# - set_fact:
|
|
||||||
# eff_uid_number: "{{ lookup('pipe', 'id -u') }}"
|
|
||||||
# - block:
|
|
||||||
# - debug:
|
|
||||||
# msg: "This program requires root privileges"
|
|
||||||
# - meta: end_play
|
|
||||||
# when: eff_uid_number|int != 0
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
- ansible.builtin.debug:
|
|
||||||
msg: "{{distribution}}{{hostname}}"
|
|
||||||
Loading…
Reference in a new issue