We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e61eb commit 8a29978Copy full SHA for 8a29978
ansible/playbooks/alias.yml
@@ -0,0 +1,15 @@
1
+---
2
+- hosts: all
3
+ become: true
4
+ tasks:
5
+ - name: Add alias for docker compose up -d in .bashrc
6
+ lineinfile:
7
+ path: "/home/{{ ansible_user }}/.bashrc"
8
+ line: "alias dcu='docker compose up -d'"
9
+ state: present
10
+
11
+ - name: Add alias for docker compose down in .bashrc
12
13
14
+ line: "alias dcd='docker compose down'"
15
ansible/playbooks/apt.yml
@@ -1,5 +1,5 @@
- hosts: "*"
- become: yes
tasks:
- name: apt
apt:
0 commit comments