Added creating config directories

This commit is contained in:
Oscar Blue 2022-05-22 23:48:10 +01:00
parent 928d67bf20
commit 5e6ac2c295
4 changed files with 41 additions and 6 deletions

View file

@ -0,0 +1 @@
alias update="sudo pacman -Sy"

View file

@ -0,0 +1,12 @@
# Source bash aliases
source ~/.bash/bash_aliases
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

View file

@ -11,4 +11,26 @@
state: present
comment: "Oscar Pocock"
password: "{{ noble_passwd }}"
shell: /bin/bash
shell: /bin/bash
- name: users | noble | create config directories
file:
path: /home/noble/{{ item.dir }}
state: directory
owner: noble
group: noble
mode: 0700
with_items:
- { dir: '.bash' }
- { dir: '.config' }
- name: users | noble | copy dotfiles
copy:
src: users/noble/{{ item.src }}
dest: /home/noble/{{ item.dest }}
owner: noble
group: noble
mode: 0600
with_items:
- { src: 'bash/bash_aliases', dest: '.bash/bash_aliases' }
- { src: 'bash/bashrc', dest: '.bashrc' }

View file

@ -1,6 +1,6 @@
$ANSIBLE_VAULT;1.1;AES256
30626639643564373063616266616466383464633734613237336438616163316339316334316566
3935373463303134623862663535383034623165303861320a336138643563623535386261383632
64393030613239353565363462353965373038666365616539363733663964636431353765373532
6665346335393363640a363238623263336163323765633962353133633161326134633830333330
30633839326436646536396235623839323936373464663862326465663237373436
37343335643432363139336430333561373232633562613365626163383361623661366131646638
3931656337623061303037633335303066336662613938660a343866333031313864346232396534
31373765326137636633366331393238373865333262653565306561336433396137616630616336
6436636534323763370a323962336337306262336363653039323564313139633834663431646562
37346239306137353465396334646338343634363162663161396264313766333739