Updateing
This commit is contained in:
parent
659d653e90
commit
6236bf6caa
|
@ -108,3 +108,22 @@
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: fzf
|
name: fzf
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
- name: Setting neovim as Viual default
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
line: 'export VISUAL=nvim'
|
||||||
|
path: "~/.bashrc"
|
||||||
|
insertafter: EOF
|
||||||
|
|
||||||
|
- name: Setting neovim deflault editor
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
line: 'export EDITOR=nvim'
|
||||||
|
path: "~/.bashrc"
|
||||||
|
insertafter: EOF
|
||||||
|
|
||||||
|
- name: Reload bashrc
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: "source /home/justin/.bashrc"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
- name: Reboot machine
|
||||||
|
hosts: "{{ my_hosts | d([]) }}"
|
||||||
|
become: true
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Reboot machine
|
||||||
|
ansible.builtin.reboot:
|
||||||
|
reboot_timeout: 3600
|
Loading…
Reference in New Issue