Compare commits
2 Commits
c1db0e5a97
...
fbf48d7c3d
Author | SHA1 | Date |
---|---|---|
|
fbf48d7c3d | |
|
06af578eb8 |
|
@ -1,8 +1,22 @@
|
|||
---
|
||||
- name: Installing Nvim
|
||||
hosts: 192.168.1.25
|
||||
hosts: 192.168.1.122
|
||||
|
||||
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
|
||||
ansible.builtin.command:
|
||||
cmd: "curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
|
||||
|
|
12
update.yaml
12
update.yaml
|
@ -65,6 +65,18 @@
|
|||
autoclean: 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
|
||||
hosts: localhost
|
||||
|
||||
|
|
Loading…
Reference in New Issue