adding latest
This commit is contained in:
2
hosts
2
hosts
@@ -1,7 +1,7 @@
|
||||
---
|
||||
all:
|
||||
hosts:
|
||||
116.203.200.219:
|
||||
116.203.223.205:
|
||||
vars:
|
||||
ansible_user: "root"
|
||||
ansible_ssh_private_key_file: ~/.ssh/id_rsa
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: all
|
||||
# mac overrides
|
||||
# - hosts: 127.0.0.1
|
||||
# connection: local
|
||||
|
||||
|
||||
@@ -11,9 +11,15 @@
|
||||
|
||||
- name: Install latest node/npm
|
||||
shell: "source {{ default_user_home }}/.nvm/nvm.sh && nvm install node"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
- name: Activate latest version
|
||||
shell: "source {{ default_user_home }}/.nvm/nvm.sh && nvm use node"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
- name: Install Yarn
|
||||
shell: "source {{ default_user_home }}/.nvm/nvm.sh && npm install -g yarn"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
@@ -71,39 +71,39 @@
|
||||
- restart ntp
|
||||
- restart cron
|
||||
|
||||
- name: Set up exim4 conf
|
||||
template:
|
||||
src: update-exim4.conf.conf.j2
|
||||
dest: /etc/exim4/update-exim4.conf.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
# - name: Set up exim4 conf
|
||||
# template:
|
||||
# src: update-exim4.conf.conf.j2
|
||||
# dest: /etc/exim4/update-exim4.conf.conf
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0644
|
||||
|
||||
- name: Set up exim4 password file
|
||||
template:
|
||||
src: passwd.client.j2
|
||||
dest: /etc/exim4/passwd.client
|
||||
owner: root
|
||||
group: Debian-exim
|
||||
mode: 0640
|
||||
# - name: Set up exim4 password file
|
||||
# template:
|
||||
# src: passwd.client.j2
|
||||
# dest: /etc/exim4/passwd.client
|
||||
# owner: root
|
||||
# group: Debian-exim
|
||||
# mode: 0640
|
||||
|
||||
- name: Set up exim4 localmacros
|
||||
copy:
|
||||
src: exim4.conf.localmacros
|
||||
dest: /etc/exim4/exim4.conf.localmacros
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart exim4
|
||||
# - name: Set up exim4 localmacros
|
||||
# copy:
|
||||
# src: exim4.conf.localmacros
|
||||
# dest: /etc/exim4/exim4.conf.localmacros
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0644
|
||||
# notify: restart exim4
|
||||
|
||||
- name: Set up FROM addresses
|
||||
template:
|
||||
src: email-addresses.j2
|
||||
dest: /etc/email-addresses
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart exim4
|
||||
# - name: Set up FROM addresses
|
||||
# template:
|
||||
# src: email-addresses.j2
|
||||
# dest: /etc/email-addresses
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0644
|
||||
# notify: restart exim4
|
||||
|
||||
- name: Make fail2ban work with ufw
|
||||
lineinfile:
|
||||
|
||||
@@ -174,7 +174,7 @@ export PATH="$PATH:$HOME/.local/bin"
|
||||
################################################################
|
||||
# Pyenv
|
||||
export PATH="$HOME/.pyenv/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
# Pipx
|
||||
|
||||
Reference in New Issue
Block a user