Skip to content

Commit

Permalink
remove tide from shell and name all plays
Browse files Browse the repository at this point in the history
  • Loading branch information
Rasmus Wejlgaard committed Nov 10, 2023
1 parent f9da4c7 commit 4c296bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
10 changes: 0 additions & 10 deletions roles/shell-environment/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,3 @@
- name: Set Fish shell as default
command: chsh -s {{ fish_path.stdout }}
when: ansible_user_shell != fish_path.stdout

- name: Setup Prompt
shell: |
set -o pipefail
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install IlanCosman/tide@v5
echo -e "1\n1\n2\n1\n1\n1\ny\n" | tide configure
args:
executable: /usr/bin/fish
when: fish_path.stdout is defined
15 changes: 10 additions & 5 deletions site.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
- hosts: all
- name: "Common roles for all hosts"
hosts: all
roles:
- role: docker-host
- role: shell-environment
- role: tailscale-exit-node

- hosts: "!london-a"
- name: "Install portainer slave on all except master"
hosts: "!london-a"
roles:
- role: portainer-slave

- hosts: all
- name: "Node-exporter on all hosts"
hosts: all
roles:
- role: prometheus.prometheus.node_exporter
vars:
Expand All @@ -19,7 +22,8 @@
- ethtool
- role: prometheus.prometheus.systemd_exporter

- hosts: london-a
- name: "Monitoring stack"
hosts: london-a
roles:
- role: prometheus.prometheus.alertmanager
vars:
Expand Down Expand Up @@ -113,7 +117,8 @@
vars:
portainer_admin_password: "{{ portainer_admin_password }}"

- hosts: copenhagen-b
- name: "Gopher site"
hosts: copenhagen-b
roles:
- role: gopher-site
vars:
Expand Down

0 comments on commit 4c296bf

Please sign in to comment.