From b794adb98e2f159aa09543882b3ab7699e8bc8af Mon Sep 17 00:00:00 2001 From: daryll Date: Wed, 29 Nov 2023 16:07:45 -0500 Subject: add .bash_profile; removed some backup files --- .../system/01-playbook-create-bash-configs.yml~ | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 ansible-practice/system/01-playbook-create-bash-configs.yml~ (limited to 'ansible-practice/system/01-playbook-create-bash-configs.yml~') diff --git a/ansible-practice/system/01-playbook-create-bash-configs.yml~ b/ansible-practice/system/01-playbook-create-bash-configs.yml~ deleted file mode 100644 index d968faa..0000000 --- a/ansible-practice/system/01-playbook-create-bash-configs.yml~ +++ /dev/null @@ -1,33 +0,0 @@ -# creating a file w/ content -# https://phoenixnap.com/kb/ansible-create-file - ---- -- name: "01 - custom ansible - create bash config files w/ content" -# hosts: all - hosts: localhost - connection: local - tasks: - - name: Creating '.bash_aliases' file with content - copy: - dest: "~/tmp/temp_files/.bash_aliases" - content: | - # navigation - alias ls='ls --color=auto' - alias ll='ls -al --color=auto' - - # applications - alias vi=/usr/bin/vim - - # git - alias gstat='git status' - tags: ['bash_aliases'] - - - name: Creating '.bashrc' file with content - copy: - dest: "~/tmp/temp_files/.bashrc" - content: | - # execute our aliases - if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases - fi - tags: ['bashrc'] -- cgit v1.2.3-54-g00ecf