hosts/plover: add ansible-playbooks as mirror repo in Gitea Terraform object

This commit is contained in:
Gabriel Arazas 2024-10-21 15:27:45 +08:00
parent c5638f2174
commit e53cb12836
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# This file is maintained automatically by "tofu init".
# Manual edits may be lost in future updates.
provider "registry.opentofu.org/go-gitea/gitea" {
version = "0.5.1"
constraints = "0.5.1"
hashes = [
"h1:SgthCZoIxowk2ThX0WaaPWyZp8JMYQQm+PsWgzNyijA=",
"zh:21f98e827e2cbb53d85bfddadf02c0f0dbafc28b3c31486547132e69844abf7f",
"zh:2d3c8e231ec73076fa044f29e983780a3ad9233b02b27a9189cbae086a6c154f",
"zh:6043d8fa134d186b30062bab1ede685bd7f20f26dec95444b7ff9df14efd9a0f",
"zh:68ef572dac8296616a72fcc6af3923075af18b247663664ed8404fc54e4a34e8",
"zh:71a4a47c02f3d61fe236b43e7f4080b7d1af411eac502ca43b62d8a9a88b7fa9",
"zh:7b3ca7a9053f8b0fab5a4abbd9fcaff235073a3138e9b05f4d6951bd2cdaf62e",
"zh:7c7c8f015535f082c0a16cb1ee61fe3770e8a2fd05f36cb22f6c1a19c89eef9a",
"zh:7f196f063756a4fb7ea03c1fd0520dbc8d660781dda5323c7fbbfe82a603669c",
"zh:97802655044a90e3b49417483bb722182bdf24b25163a02db728833235326e11",
"zh:9829d7e4635e23edf0049de2ee34448d88096ab42b32bfa3068ea0a7e7a5243c",
"zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425",
"zh:b8bb9c8deae70fcaae978e972463e248825e084797455efea3cd2697324cbb63",
"zh:ba303c12720e16c9433bb8ab178c98dbe39e95bc5c7300c2670fa562e6942d29",
"zh:de3ee75a5659fd852a5f44d8b29509d31cb388de019c7653e0b182029f390840",
"zh:f512830656d19b4e70fc2069a74c772b3e3d935694839a0c7c4d3f2928da8405",
]
}

View File

@ -87,3 +87,14 @@ resource "gitea_repository" "dotfiles" {
website = "https://wiki.foodogsquared.one"
private = false
}
resource "gitea_repository" "ansible-playbooks" {
username = gitea_user.foodogsquared.username
name = "ansible-playbooks"
mirror = true
migration_clone_address = "https://github.com/foo-dogsquared/ansible-playbooks.git"
migration_service = "github"
migration_service_auth_token = var.github_clone_token
migration_mirror_interval = "4h"
private = false
}