Skip to content

Commit

Permalink
Fix read token
Browse files Browse the repository at this point in the history
  • Loading branch information
creedasaurus committed Jun 30, 2024
1 parent 0a99a33 commit 16db29d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions ansible/roles/prereq/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,24 @@
owner: root
group: root
mode: 0644

- name: Read device information
community.general.parted:
device: /dev/sda
unit: MiB
register: disk_info

- name: Resize the volume group to use all available space on /dev/sda{{ disk_info.partitions | length }}
community.general.lvg:
vg: ubuntu-vg
pvs: /dev/sda{{ disk_info.partitions | length }}
pvresize: yes

- name: Extend the logical volume to use all remaining space in the volume group
community.general.lvol:
vg: ubuntu-vg
lv: ubuntu-lv
size: +100%FREE

- name: Resize filesystem
ansible.builtin.command: resize2fs /dev/ubuntu-vg/ubuntu-lv
4 changes: 2 additions & 2 deletions apps/infra/argocd/homelab-deux-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ spec:
data:
- secretKey: accessToken
remoteRef:
key: github-read-access
property: github-read-access-token
key: github
property: read-access-token

0 comments on commit 16db29d

Please sign in to comment.