Compare commits
2
Commits
c1db0e5a97
...
fbf48d7c3d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbf48d7c3d | ||
|
|
06af578eb8 |
No files matched your search
+15
-1
@@ -1,8 +1,22 @@
|
|||||||
---
|
---
|
||||||
- name: Installing Nvim
|
- name: Installing Nvim
|
||||||
hosts: 192.168.1.25
|
hosts: 192.168.1.122
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: make sure git is installed
|
||||||
|
become: yes
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
name: git
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: install build essential
|
||||||
|
become: yes
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
name: build-essetial
|
||||||
|
state: latest
|
||||||
|
|
||||||
- name: Pulling from github
|
- name: Pulling from github
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
|
cmd: "curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
|
||||||
|
|||||||
+12
@@ -65,6 +65,18 @@
|
|||||||
autoclean: true
|
autoclean: true
|
||||||
autoremove: true
|
autoremove: true
|
||||||
|
|
||||||
|
- name: installing net-tools on all
|
||||||
|
hosts: all
|
||||||
|
become: yes
|
||||||
|
tasks:
|
||||||
|
- name: running apt
|
||||||
|
when: ansible_pkg_mgr == 'apt'
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: net-tools
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Send completed update
|
- name: Send completed update
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user