diff --git a/.aptly.conf b/.aptly.conf new file mode 100644 index 0000000..2d5ab92 --- /dev/null +++ b/.aptly.conf @@ -0,0 +1,14 @@ +{ + "rootDir": "/home/neonarchives/aptly", + "downloadConcurrency": 4, + "architectures": [], + "dependencyFollowSuggests": false, + "dependencyFollowRecommends": true, + "dependencyFollowAllVariants": false, + "dependencyFollowSource": false, + "gpgDisableSign": false, + "gpgDisableVerify": false, + "downloadSourcePackages": false, + "ppaDistributorID": "", + "ppaCodename": "" +} diff --git a/deploy b/deploy index e5be1de..51ff50b 100755 --- a/deploy +++ b/deploy @@ -1,19 +1,20 @@ #!/bin/bash # deploy ansible all -u neonarchives -i hosts -m file -a "path=.config/systemd/user/ state=directory" ansible all -u neonarchives -i hosts -m file -a "path=bin/ state=directory" ansible all -u neonarchives -i hosts -m copy -a "src=aptly.service dest=.config/systemd/user/aptly.service" ansible all -u neonarchives -i hosts -m copy -a "src=aptly.socket dest=.config/systemd/user/aptly.socket" +ansible all -u neonarchives -i hosts -m copy -a "src=.aptly.conf dest=.aptly.conf" ansible all -u neonarchives -i hosts -m copy -a "src=aptly_db_cleanup.service dest=.config/systemd/user/aptly_db_cleanup.service" ansible all -u neonarchives -i hosts -m copy -a "src=aptly dest=bin/" ansible all -u neonarchives -i hosts -m shell -a "systemctl --user daemon-reload" ansible all -u neonarchives -i hosts -m shell -a "systemctl --user enable aptly.service" ansible all -u neonarchives -i hosts -m shell -a "systemctl --user enable --now aptly.socket" # verify it works ansible all -u neonarchives -i hosts -m shell -a "GET https://archive-api.neon.kde.org/api/publish"