diff options
Diffstat (limited to 'roles/openshift_gcp_image_prep')
-rw-r--r-- | roles/openshift_gcp_image_prep/files/partition.conf | 3 | ||||
-rw-r--r-- | roles/openshift_gcp_image_prep/tasks/main.yaml | 18 |
2 files changed, 0 insertions, 21 deletions
diff --git a/roles/openshift_gcp_image_prep/files/partition.conf b/roles/openshift_gcp_image_prep/files/partition.conf deleted file mode 100644 index b87e5e0b6..000000000 --- a/roles/openshift_gcp_image_prep/files/partition.conf +++ /dev/null @@ -1,3 +0,0 @@ -[Service] -ExecStartPost=-/usr/bin/growpart /dev/sda 1 -ExecStartPost=-/sbin/xfs_growfs / diff --git a/roles/openshift_gcp_image_prep/tasks/main.yaml b/roles/openshift_gcp_image_prep/tasks/main.yaml deleted file mode 100644 index fee5ab618..000000000 --- a/roles/openshift_gcp_image_prep/tasks/main.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -# GCE instances are starting with xfs AND barrier=1, which is only for extfs. -- name: Remove barrier=1 from XFS fstab entries - lineinfile: - path: /etc/fstab - regexp: '^(.+)xfs(.+?),?barrier=1,?(.*?)$' - line: '\1xfs\2 \4' - backrefs: yes - -- name: Ensure the root filesystem has XFS group quota turned on - lineinfile: - path: /boot/grub2/grub.cfg - regexp: '^(.*)linux16 (.*)$' - line: '\1linux16 \2 rootflags=gquota' - backrefs: yes - -- name: Ensure the root partition grows on startup - copy: src=partition.conf dest=/etc/systemd/system/google-instance-setup.service.d/ |