Skip to content

Commit

Permalink
Move termite copr to ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvin Norling committed Jun 19, 2022
1 parent 0538301 commit a0beddd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ ansible-galaxy collection install community.general

#### termite

Copr isn't supported in ansible...
Copr is now supported by ansible and termite is installed automatically.
Earlier you had to write.

```bash
sudo dnf copr enable skidnik/termite
sudo dnf install termite
```


### Arche

```bash
Expand Down Expand Up @@ -130,7 +130,6 @@ sudo dnf install brave-browser
- Turn stuff in to ansible when reasonable
- Auto install vscode extensions


### VScode

There is today no easy way to manage extensions using git but there is a sync-option that is in preview but i don't want to use it...
Expand All @@ -140,8 +139,8 @@ Instead my plan is to write a simple script that I will run from time to time to
# Create the backup
code --list-extensions > vscode-extensions.list
# To install on a new client
cat vscode-extensions.list | xargs -L 1 code --install-extension

cat vscode-extensions.list | xargs -L 1 codium --install-extension
# It might have to say code or codium depending on os.
```

### Applications
Expand Down
5 changes: 5 additions & 0 deletions ansible/roles/laptop/tasks/setup-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
method: system
with_items: "{{ flatpacks }}"

# Setup termite repo
- name: Enable project Test of the user schlupov
community.general.copr:
name: skidnik/termite

# Install codium aka vscode oss repo
- name: codium gpg
rpm_key:
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/laptop/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fedoraPackages:
- direnv
- kubernetes-client
- codium
- termite

flatpacks:
- com.slack.Slack
Expand Down

0 comments on commit a0beddd

Please sign in to comment.