-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy patheclipse.yml
More file actions
31 lines (25 loc) · 1.23 KB
/
Copy patheclipse.yml
File metadata and controls
31 lines (25 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- hosts: all
tasks:
- name: check that i have log file for all hosts on my local machine
stat: path=/var/log/hosts/{{inventory_hostname}}.log
delegate_to: localhost
- hosts: localhost
gather_facts: true
tasks:
- name: run_command
# ansible.builtin.command: date
ansible.builtin.shell: date
delegate_to: localhost
register: user
- debug: msg="{{ user.stdout }}"
- debug: msg="Hostname is {{ ansible_hostname }}"
- name: Install eclipse to all nodes
hosts: localhost
gather_facts: false
# become: true
roles:
- {role: ./, docker_files_enable: false, user: root, home: /root, eclipse_dir_tmp: '{{ tempdir.stdout }}', eclipse_plugins_emf_enabled: false,
eclipse_plugins_cdt_enabled: true, eclipse_plugins_cmakeed_enabled: true, eclipse_plugins_openinterminal_enabled: false, eclipse_plugins_protobuf_enabled: false,
eclipse_plugins_yedit_enabled: false, eclipse_plugins_shelled_enabled: false, eclipse_plugins_webpageed_enabled: false, eclipse_plugins_pydev_enabled: false,
eclipse_plugins_m2e_enabled: false, eclipse_plugins_subclipse_enabled: true}