文件操作 - main.yml
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3.12/site-packages/ansible_collections/google/cloud/roles/gcp_http_lb/vars/main.yml
编辑文件内容
--- # vars file for gcp-http-lb # The backend this LB will be supporting. This will typically be a Instance Group: # example: projects/sample-project/zones/us-central1-c/instanceGroups/sample-instance-group gcp_http_lb_backend: your-backend # The name of your GCP project gcp_http_lb_gcp_project: your-project # The kind of authentication you will use (serviceaccount is recommended) gcp_http_lb_auth_kind: serviceaccount # The path to your service account file (if using the serviceaccount auth kind) gcp_http_lb_service_account_file: path-to-service-account-file
修改文件时间
将文件时间修改为当前时间的前一年
删除文件