<commit_before>--- # network.yml (after reboot)
- name: Copy pacman configuration
  copy: src=files/etc/pacman.conf dest=/etc/pacman.conf owner=root group=root mode=0644
  become: yes

- name: Update pacman cache
  pacman: force=yes update_cache=yes
  become: yes
  changed_when: false

- name: Check is aurman installed
  shell: pacman -Qq aurman
  register: check_aurman
  failed_when: check_aurman.rc not in [0, 1]
  changed_when: false

- name: Clone aurman repo
  git: repo=https://aur.archlinux.org/aurman.git dest=/tmp/aurman
  when: check_aurman.rc != 0

- name: Install aurman
  shell: makepkg -sci --noconfirm --skippgpcheck chdir=/tmp/aurman
  when: check_aurman.rc != 0

- name: Remove aurman repo
  file: path=/tmp/aurman state=absent

- name: Install yaourt
  pacman: name=yaourt state=present
  become: yes<commit_msg>install aurman under main user<commit_after>--- # network.yml (after reboot)
- name: Copy pacman configuration
  copy: src=files/etc/pacman.conf dest=/etc/pacman.conf owner=root group=root mode=0644
  become: yes

- name: Update pacman cache
  pacman: force=yes update_cache=yes
  become: yes
  changed_when: false

- name: Check is aurman installed
  shell: pacman -Qq aurman
  register: check_aurman
  failed_when: check_aurman.rc not in [0, 1]
  changed_when: false

- name: Clone aurman repo
  git: repo=https://aur.archlinux.org/aurman.git dest=/tmp/aurman
  when: check_aurman.rc != 0

- name: Install aurman
  shell: sudo -u {{main_user}} makepkg -sci --noconfirm --skippgpcheck chdir=/tmp/aurman
  when: check_aurman.rc != 0

- name: Remove aurman repo
  file: path=/tmp/aurman state=absent

- name: Install yaourt
  pacman: name=yaourt state=present
  become: yes
{'fraction_non_alphanumeric': 0.10733137829912023, 'fraction_numerical': 0.0093841642228739, 'mean_word_length': 3.944927536231884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3065593', 'n_tokens_mistral': 625, 'n_tokens_neox': 599, 'n_words': 172}