diff --git a/roles/1-prep/tasks/raspberry_pi_2.yml b/roles/1-prep/tasks/raspberry_pi_2.yml index 43a66dc25..f93f734ee 100644 --- a/roles/1-prep/tasks/raspberry_pi_2.yml +++ b/roles/1-prep/tasks/raspberry_pi_2.yml @@ -26,23 +26,23 @@ mode=0644 when: rtc_id != "none" -- name: pre-Install packages +- name: Pre-install packages package: name={{ item }} state=latest with_items: - ntp -- name: increase the swap file size (kalite pip download fails) +- name: Increase the swap file size (kalite pip download fails) lineinfile: regexp="^CONF_SWAPSIZE" line=CONF_SWAPSIZE=500 dest=/etc/dphys-swapfile when: is_debuntu -- name: restart the swap service +- name: Restart the swap service command: /etc/init.d/dphys-swapfile restart when: is_debuntu -- name: Add rpi rootfs resizing service +- name: Add RPi rootfs resizing service template: src={{ item.src }} dest={{ item.dest }} owner=root @@ -55,4 +55,3 @@ - name: Enable rootfs resizing service service: name=iiab-rpi-root-resize enabled=yes - diff --git a/roles/2-common/tasks/packages.yml b/roles/2-common/tasks/packages.yml index 700159be6..e409b5dee 100644 --- a/roles/2-common/tasks/packages.yml +++ b/roles/2-common/tasks/packages.yml @@ -1,16 +1,16 @@ -- name: install yum deps for arm!!! +- name: Install yum deps for arm!!! shell: dnf install -y python-urlgrabber pyxattr yum-metadata-parser when: ansible_distribution == "Fedora" and ansible_machine == "armv7l" and ansible_distribution_version|int >= 22 -- name: install yum from Fedora 23 for arm!!! +- name: Install yum from Fedora 23 for arm!!! shell: dnf install -y https://kojipkgs.fedoraproject.org//packages/yum/3.4.3/506.fc23/noarch/yum-3.4.3-506.fc23.noarch.rpm python-dnf when: ansible_distribution == "Fedora" and ansible_machine == "armv7l" and ansible_distribution_version|int >= 22 -- name: install yum if it has been dropped from our distribution -- Fedora 22 uses dnf!!! +- name: Install yum if it has been dropped from our distribution -- Fedora 22 uses dnf!!! shell: dnf install -y yum when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 22 and ansible_machine != "armv7l" -- name: get the createrepo program +- name: Get the createrepo program package: name=createrepo state=present when: is_redhat diff --git a/roles/2-common/tasks/xo.yml b/roles/2-common/tasks/xo.yml index 4c7c1237e..168f978bc 100644 --- a/roles/2-common/tasks/xo.yml +++ b/roles/2-common/tasks/xo.yml @@ -25,7 +25,7 @@ regexp='^%_excludedocs' state=absent -- name: pre-Install packages +- name: Pre-install packages package: name={{ item }} state=latest with_items: @@ -34,7 +34,7 @@ - man-db - man-pages -- name: re-Install packages +- name: Re-install packages shell: yum -y reinstall sed libidn grep which util-linux wget gnupg2 groff gnash yum when: not osbuilder is defined @@ -44,7 +44,7 @@ option=plugins value=ifcfg-rh,keyfile -- name: check for modem config file +- name: Check for modem config file stat: path=/etc/NetworkManager/system-connections/"Sugar Modem Connection" register: config